mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* 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
Block a user