* Fix bug in prefix, suffix and word shape features in parser and NER

This commit is contained in:
Matthew Honnibal 2015-04-10 03:53:33 +02:00
parent a6ac92f077
commit 99c9ecfc18

View File

@ -29,6 +29,9 @@ cdef inline void fill_token(atom_t* context, const TokenC* token) nogil:
context[4] = 0 context[4] = 0
context[5] = 0 context[5] = 0
context[6] = 0 context[6] = 0
context[7] = 0
context[8] = 0
context[9] = 0
else: else:
context[0] = token.lex.orth context[0] = token.lex.orth
context[1] = token.lemma context[1] = token.lemma