diff --git a/spacy/language.py b/spacy/language.py index 20e29c829..6b3957deb 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -778,8 +778,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 n_threads != -1: warnings.warn(Warnings.W016, DeprecationWarning) if n_process == -1: