From 691e0088cfa425dc81dc6e1e8e3d1d5ee54550db Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 17 Sep 2019 11:22:03 +0200 Subject: [PATCH] Remove duplicate tok2vec property (closes #4302) --- spacy/syntax/nn_parser.pyx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index c4edef137..85f7b5bb9 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -130,10 +130,6 @@ cdef class Parser: def __reduce__(self): return (Parser, (self.vocab, self.moves, self.model), None, None) - @property - def tok2vec(self): - return self.model.tok2vec - @property def move_names(self): names = []