diff --git a/spacy/language.py b/spacy/language.py index 28fddfebb..f0928b1f9 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -757,8 +757,6 @@ class Language(object): DOCS: https://spacy.io/api/language#pipe """ - # raw_texts will be used later to stop iterator. - texts, raw_texts = itertools.tee(texts) if is_python2 and n_process != 1: user_warning(Warnings.W023) n_process = 1