Fix multiprocessing for as_tuples=True (#4582)

This commit is contained in:
Matthew Honnibal 2019-11-04 20:29:03 +01:00 committed by Ines Montani
parent 4b95587ad4
commit 4e43c0ba93

View File

@ -769,6 +769,7 @@ class Language(object):
texts,
batch_size=batch_size,
disable=disable,
n_process=n_process,
component_cfg=component_cfg,
)
for doc, context in izip(docs, contexts):