mirror of https://github.com/explosion/spaCy.git
* Set is_parsed flag in Parser.pipe
This commit is contained in:
parent
bdd579db0a
commit
165ca28b80
|
@ -141,6 +141,7 @@ cdef class Parser:
|
|||
for i in range(batch_size):
|
||||
self.parseC(doc_ptr[i], lengths[i], nr_feat, nr_class)
|
||||
for doc in queue:
|
||||
doc.is_parsed = True
|
||||
yield doc
|
||||
PyErr_CheckSignals()
|
||||
|
||||
|
|
Loading…
Reference in New Issue