mirror of https://github.com/explosion/spaCy.git
* Rename vec to repvec
This commit is contained in:
parent
56e6cf0672
commit
5e63c606ad
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue