mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Fix Language.pipe
This commit is contained in:
parent
048dfe35aa
commit
249dccbe95
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user