From 18590eba94824ee0d419125e644e283173d2dd91 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 27 Oct 2016 18:02:19 +0200 Subject: [PATCH] Fix training evaluate method --- spacy/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/train.py b/spacy/train.py index 097218310..26fdf0e11 100644 --- a/spacy/train.py +++ b/spacy/train.py @@ -48,7 +48,7 @@ class Trainer(object): docs = self.make_docs(raw_text, paragraph_tuples) golds = self.make_golds(docs, paragraph_tuples) for doc, gold in zip(docs, golds): - for process in self.nlp.pipeline[1:]: + for process in self.nlp.pipeline: process(doc) scorer.score(doc, gold) return scorer