From f71eeef9bb620032aa6c83cead39ded983a8be3f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 9 Mar 2017 18:42:40 -0600 Subject: [PATCH] Pass path argument to end_training --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index 9f8cc49e1..66acec781 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -265,7 +265,7 @@ class Language(object): self.entity = self.Defaults.create_entity(self) self.pipeline = self.Defaults.create_pipeline(self) yield Trainer(self, gold_tuples) - self.end_training() + self.end_training(path=path) def __init__(self, **overrides): if 'data_dir' in overrides and 'path' not in overrides: