mirror of https://github.com/explosion/spaCy.git
Fix training evaluate method
This commit is contained in:
parent
301f3cc898
commit
18590eba94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue