diff --git a/spacy/vectors.pyx b/spacy/vectors.pyx index 36ab1e316..6ef1721e2 100644 --- a/spacy/vectors.pyx +++ b/spacy/vectors.pyx @@ -27,7 +27,7 @@ cdef class Vectors: self.key2i[self.strings.add(string)] = i def __reduce__(self): - raise NotImplementedError + return (Vectors, (self.strings, self.data)) def __getitem__(self, key): if isinstance(key, basestring):