From 116da5990a9f97baa9f399a50ff0707046e60024 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 23:48:57 +1100 Subject: [PATCH] * Clean up setting of tag in doc.from_bytes --- spacy/tokens/doc.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index a606b92f4..c1cef5789 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -472,7 +472,6 @@ cdef class Doc: self.vocab.morphology.assign_tag(token, tag) else: token.tag = self.vocab.strings[tag] - token.tag = self.vocab.strings[tag] token.lemma = self.vocab.strings[lemma] if ent_type == 'O': token.ent_iob = 2