diff --git a/spacy/syntax/ner.pyx b/spacy/syntax/ner.pyx index b3ecfc2a5..099375b82 100644 --- a/spacy/syntax/ner.pyx +++ b/spacy/syntax/ner.pyx @@ -269,6 +269,7 @@ cdef class Last: @staticmethod cdef int transition(StateClass st, int label) nogil: st.close_ent() + st.set_ent_tag(st.B(0), 2, label) st.push() st.pop()