mirror of https://github.com/explosion/spaCy.git
Fix issue #1959
This commit is contained in:
parent
7ba4111554
commit
3765d84d57
|
@ -720,5 +720,5 @@ class DisabledPipes(list):
|
|||
|
||||
def _pipe(func, docs):
|
||||
for doc in docs:
|
||||
func(doc)
|
||||
doc = func(doc)
|
||||
yield doc
|
||||
|
|
Loading…
Reference in New Issue