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
1 changed files with 1 additions and 0 deletions

View File

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