* Important bug fix: Fill token N2w, which was being unfilled, after a bad edit while writing the NER features.

This commit is contained in:
Matthew Honnibal 2015-03-24 04:32:11 +01:00
parent 2b2dec95d3
commit 2741179aff

View File

@ -67,6 +67,7 @@ cdef int fill_context(atom_t* context, State* state) except -1:
fill_token(&context[N0l2w], get_left(state, get_n0(state), 2)) fill_token(&context[N0l2w], get_left(state, get_n0(state), 2))
fill_token(&context[N0w], get_n0(state)) fill_token(&context[N0w], get_n0(state))
fill_token(&context[N1w], get_n1(state)) fill_token(&context[N1w], get_n1(state))
fill_token(&context[N2w], get_n2(state))
fill_token(&context[P1w], get_p1(state)) fill_token(&context[P1w], get_p1(state))
fill_token(&context[P2w], get_p2(state)) fill_token(&context[P2w], get_p2(state))