From 5ecb274764b085bd6fe49fcc573618e430051259 Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 10 Apr 2018 16:14:52 +0200 Subject: [PATCH] Fix indentation error and set Doc.is_tagged correctly --- spacy/pipeline.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index ae0cda6a8..e9ef2e892 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -470,7 +470,7 @@ class Tagger(Pipe): doc.extend_tensor(tensors[i].get()) else: doc.extend_tensor(tensors[i]) - doc.is_tagged = True + doc.is_tagged = True def update(self, docs, golds, drop=0., sgd=None, losses=None): if losses is not None and self.name not in losses: