From 3d0833c3df5f37aeb227b1ed323945d83222d865 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 15 Mar 2017 19:55:35 -0500 Subject: [PATCH] Fix off-by-1 in parse features fill_context --- spacy/syntax/_parse_features.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/syntax/_parse_features.pyx b/spacy/syntax/_parse_features.pyx index bc54e0c9d..36a78c638 100644 --- a/spacy/syntax/_parse_features.pyx +++ b/spacy/syntax/_parse_features.pyx @@ -33,7 +33,6 @@ cdef inline void fill_token(atom_t* context, const TokenC* token) nogil: context[9] = 0 context[10] = 0 context[11] = 0 - context[12] = 0 else: context[0] = token.lex.orth context[1] = token.lemma