From 2741179aff1f618882193031918ac91ae83f84ae Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 24 Mar 2015 04:32:11 +0100 Subject: [PATCH] * Important bug fix: Fill token N2w, which was being unfilled, after a bad edit while writing the NER features. --- spacy/syntax/_parse_features.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/syntax/_parse_features.pyx b/spacy/syntax/_parse_features.pyx index 656926797..f47389e89 100644 --- a/spacy/syntax/_parse_features.pyx +++ b/spacy/syntax/_parse_features.pyx @@ -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[N0w], get_n0(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[P2w], get_p2(state))