Clean up state initiatisation in transition system

This commit is contained in:
Matthew Honnibal 2017-03-16 11:59:11 -05:00
parent a46933a8fe
commit c90dc7ac29

View File

@ -18,9 +18,6 @@ class OracleError(Exception):
cdef void* _init_state(Pool mem, int length, void* tokens) except NULL:
cdef StateClass st = StateClass.init(<const TokenC*>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 <void*>st