mirror of https://github.com/explosion/spaCy.git
Fix Language.evaluate
This commit is contained in:
parent
f762c36e61
commit
ad56641324
|
@ -597,6 +597,8 @@ class Language(object):
|
|||
):
|
||||
if scorer is None:
|
||||
scorer = Scorer()
|
||||
if component_cfg is None:
|
||||
component_cfg = {}
|
||||
docs, golds = zip(*docs_golds)
|
||||
docs = list(docs)
|
||||
golds = list(golds)
|
||||
|
|
Loading…
Reference in New Issue