* Fix POS model: make it use tag instead of pos in history features

This commit is contained in:
Matthew Honnibal 2015-04-29 00:02:53 +02:00
parent 763ef01575
commit 378c2a6435

View File

@ -369,7 +369,7 @@ cdef inline void _fill_from_token(atom_t* context, const TokenC* t) nogil:
context[2] = t.lex.shape
context[3] = t.lex.prefix
context[4] = t.lex.suffix
context[5] = t.pos
context[5] = t.tag
context[6] = t.lemma
if t.lex.flags & (1 << IS_ALPHA):
context[7] = 1