From 4efd6fb9d60f2d36a1f9ae6892c2d6bd4021140c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 16 Apr 2017 15:28:27 -0500 Subject: [PATCH] Fix training --- spacy/language.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: