mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
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
Block a user