* Fix repvec_length problem

This commit is contained in:
Matthew Honnibal 2015-09-21 18:10:51 +10:00
parent ac459278d1
commit 388062ae01
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ cdef class Token:
property vector:
def __get__(self):
cdef int length = self.vocab.repvec_length
cdef int length = self.vocab.vectors_length
repvec_view = <float[:length,]>self.c.lex.repvec
return numpy.asarray(repvec_view)