diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index 340fdbb0a..364047835 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -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 = self.c.lex.repvec return numpy.asarray(repvec_view)