From 249dccbe95523f523502a0b01a134c381952c21d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 5 Feb 2016 12:47:57 +0100 Subject: [PATCH] * Fix Language.pipe --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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