From 388062ae01e2c339001b1fd84b2efc000d020c44 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 21 Sep 2015 18:10:51 +1000 Subject: [PATCH] * Fix repvec_length problem --- spacy/tokens/token.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)