Fix Language.evaluate

This commit is contained in:
Matthew Honnibal 2019-03-15 15:20:09 +01:00
parent f762c36e61
commit ad56641324

View File

@ -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)