diff --git a/spacy/pipeline/lemmatizer.py b/spacy/pipeline/lemmatizer.py index 76aea8f99..6cea65fec 100644 --- a/spacy/pipeline/lemmatizer.py +++ b/spacy/pipeline/lemmatizer.py @@ -127,6 +127,7 @@ class Lemmatizer(Pipe): """ self.vocab = vocab self.model = model + self.name = name self._mode = mode self.lookups = lookups if lookups is not None else Lookups() self.overwrite = overwrite