diff --git a/spacy/language.py b/spacy/language.py index 47408921c..f47b1d0cc 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -239,8 +239,7 @@ class Language(object): self.pipeline = self.Defaults.create_pipeline(self) yield Trainer(self, gold_tuples) self.end_training() - self.save_to_directory(path, deps=self.parser.cfg, ner=self.entity.cfg, - pos=self.tagger.cfg) + self.save_to_directory(path) def __init__(self, **overrides): if 'data_dir' in overrides and 'path' not in overrides: