mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-04 11:53:09 +03:00
Fix argument
This commit is contained in:
parent
e7341db5dc
commit
7453df79d1
|
@ -1150,7 +1150,7 @@ def _pipe(examples, proc, kwargs):
|
||||||
yield ex
|
yield ex
|
||||||
|
|
||||||
|
|
||||||
def _apply_pipes(make_doc, pipes, receiver, sender, underscore_state, vectors):
|
def _apply_pipes(make_doc, pipes, receiver, sender, underscore_state):
|
||||||
"""Worker for Language.pipe
|
"""Worker for Language.pipe
|
||||||
|
|
||||||
receiver (multiprocessing.Connection): Pipe to receive text. Usually
|
receiver (multiprocessing.Connection): Pipe to receive text. Usually
|
||||||
|
@ -1158,7 +1158,6 @@ def _apply_pipes(make_doc, pipes, receiver, sender, underscore_state, vectors):
|
||||||
sender (multiprocessing.Connection): Pipe to send doc. Usually created by
|
sender (multiprocessing.Connection): Pipe to send doc. Usually created by
|
||||||
`multiprocessing.Pipe()`
|
`multiprocessing.Pipe()`
|
||||||
underscore_state (tuple): The data in the Underscore class of the parent
|
underscore_state (tuple): The data in the Underscore class of the parent
|
||||||
vectors (dict): The global vectors data, copied from the parent
|
|
||||||
"""
|
"""
|
||||||
Underscore.load_state(underscore_state)
|
Underscore.load_state(underscore_state)
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user