From c90dc7ac29f27bf50d578bf8b8d5471a2bfc324a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 16 Mar 2017 11:59:11 -0500 Subject: [PATCH] Clean up state initiatisation in transition system --- spacy/syntax/transition_system.pyx | 3 --- 1 file changed, 3 deletions(-) diff --git a/spacy/syntax/transition_system.pyx b/spacy/syntax/transition_system.pyx index 3c222288d..7e5577885 100644 --- a/spacy/syntax/transition_system.pyx +++ b/spacy/syntax/transition_system.pyx @@ -18,9 +18,6 @@ class OracleError(Exception): cdef void* _init_state(Pool mem, int length, void* tokens) except NULL: cdef StateClass st = StateClass.init(tokens, length) - # Ensure sent_start is set to 0 throughout - for i in range(st.c.length): - st.c._sent[i].sent_start = False Py_INCREF(st) return st