mirror of https://github.com/explosion/spaCy.git
Remove duplicate tok2vec property (closes #4302)
This commit is contained in:
parent
47055d5988
commit
691e0088cf
|
@ -130,10 +130,6 @@ cdef class Parser:
|
||||||
def __reduce__(self):
|
def __reduce__(self):
|
||||||
return (Parser, (self.vocab, self.moves, self.model), None, None)
|
return (Parser, (self.vocab, self.moves, self.model), None, None)
|
||||||
|
|
||||||
@property
|
|
||||||
def tok2vec(self):
|
|
||||||
return self.model.tok2vec
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def move_names(self):
|
def move_names(self):
|
||||||
names = []
|
names = []
|
||||||
|
|
Loading…
Reference in New Issue