mirror of https://github.com/explosion/spaCy.git
Fix multiprocessing for as_tuples=True (#4582)
This commit is contained in:
parent
4b95587ad4
commit
4e43c0ba93
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue