mirror of https://github.com/explosion/spaCy.git
Use init parameter (#5909)
This commit is contained in:
parent
950832f087
commit
ba84371ab0
|
@ -127,6 +127,7 @@ class Lemmatizer(Pipe):
|
||||||
"""
|
"""
|
||||||
self.vocab = vocab
|
self.vocab = vocab
|
||||||
self.model = model
|
self.model = model
|
||||||
|
self.name = name
|
||||||
self._mode = mode
|
self._mode = mode
|
||||||
self.lookups = lookups if lookups is not None else Lookups()
|
self.lookups = lookups if lookups is not None else Lookups()
|
||||||
self.overwrite = overwrite
|
self.overwrite = overwrite
|
||||||
|
|
Loading…
Reference in New Issue