* Clean up setting of tag in doc.from_bytes

This commit is contained in:
Matthew Honnibal 2015-11-03 23:48:57 +11:00
parent 9ec7b9c454
commit 116da5990a

View File

@ -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