From 7453df79d166b0441becc0296de2b691dd7afa06 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 26 Mar 2020 14:09:02 +0100 Subject: [PATCH] Fix argument --- spacy/language.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy/language.py b/spacy/language.py index ce9412d85..5343df4b7 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1150,7 +1150,7 @@ def _pipe(examples, proc, kwargs): 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 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 `multiprocessing.Pipe()` 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) while True: