Fix vector linkage for token

This commit is contained in:
Matthew Honnibal 2017-06-04 14:19:58 -05:00
parent c4614c02a2
commit f4662e9218
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ cdef class Token:
def __get__(self):
if 'has_vector' in self.doc.user_token_hooks:
return self.doc.user_token_hooks['has_vector'](self)
return self.vocab.has_vector(self.lex.c.orth)
return self.vocab.has_vector(self.c.lex.orth)
property vector:
"""A real-valued meaning representation.