diff --git a/spacy/syntax/arc_eager.pyx b/spacy/syntax/arc_eager.pyx index f5b2921ee..29e62cb4e 100644 --- a/spacy/syntax/arc_eager.pyx +++ b/spacy/syntax/arc_eager.pyx @@ -370,6 +370,8 @@ cdef class ArcEager(TransitionSystem): # Ensure sent_start is set to 0 throughout for i in range(st.length): st._sent[i].sent_start = False + st._sent[i].l_edge = i + st._sent[i].r_edge = i st.fast_forward() cdef int finalize_state(self, StateClass st) except -1: