diff --git a/spacy/language.py b/spacy/language.py index 29a844c13..36a56413a 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -284,7 +284,7 @@ class Language(object): n_threads=n_threads, batch_size=batch_size) if self.entity and entity: stream = self.entity.pipe(stream, - n_threads=n_threads, batch_size=batch_size) + n_threads=1, batch_size=batch_size) for doc in stream: yield doc