From 5aaef3e7b8b44f3af347aaed269380727823c380 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 26 Sep 2017 06:45:47 -0500 Subject: [PATCH] Dont link vectors in vocab deserialize --- spacy/vocab.pyx | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 01e074617..0a420849c 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -324,7 +324,6 @@ cdef class Vocab: self.lexemes_from_bytes(file_.read()) if self.vectors is not None: self.vectors.from_disk(path, exclude='strings.json') - link_vectors_to_models(self) return self def to_bytes(self, **exclude): @@ -364,7 +363,6 @@ cdef class Vocab: ('vectors', lambda b: serialize_vectors(b)) )) util.from_bytes(bytes_data, setters, exclude) - link_vectors_to_models(self) return self def lexemes_to_bytes(self):