* Rename vec to repvec

This commit is contained in:
Matthew Honnibal 2015-01-22 02:03:54 +11:00
parent 56e6cf0672
commit 5e63c606ad
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ cdef class Lexeme:
cdef inline Lexeme from_ptr(const LexemeC* ptr, StringStore strings):
cdef Lexeme py = Lexeme.__new__(Lexeme, 300)
for i in range(300):
py.vec[i] = ptr.vec[i]
py.repvec[i] = ptr.repvec[i]
py.flags = ptr.flags
py.id = ptr.id
py.length = ptr.length

View File

@ -28,7 +28,7 @@ cdef int set_lex_struct_props(LexemeC* lex, dict props, StringStore string_store
lex.sentiment = props['sentiment']
lex.flags = props['flags']
lex.vec = empty_vec
lex.repvec = empty_vec
cdef class Lexeme: