mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 16:24:16 +03:00
* Set is_parsed flag in Parser.pipe
This commit is contained in:
parent
7119e77fb6
commit
bdd579db0a
|
@ -134,6 +134,7 @@ cdef class Parser:
|
|||
self.parseC(doc_ptr[i], lengths[i], nr_feat, nr_class)
|
||||
PyErr_CheckSignals()
|
||||
for doc in queue:
|
||||
doc.is_parsed = True
|
||||
yield doc
|
||||
queue = []
|
||||
batch_size = len(queue)
|
||||
|
|
Loading…
Reference in New Issue
Block a user