diff --git a/spacy/language.py b/spacy/language.py index a61b6b09f..bd1e8d012 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -720,5 +720,5 @@ class DisabledPipes(list): def _pipe(func, docs): for doc in docs: - func(doc) + doc = func(doc) yield doc