mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Set ent tag when close entity
This commit is contained in:
parent
9285f01d26
commit
5efad178b5
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user