From 165ca28b80657b98ed0244905e99ddccaedbe6dc Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 5 Feb 2016 19:51:44 +0100 Subject: [PATCH] * Set is_parsed flag in Parser.pipe --- spacy/syntax/parser.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index c5453057f..6cfa57c60 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -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()