mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 13:14:11 +03:00
* Fix Last restriction, that was supposed to prevent conflicts with presets, but was incorrect.
This commit is contained in:
parent
a9b612abdf
commit
af70dc166a
|
@ -259,8 +259,6 @@ cdef class Last:
|
||||||
cdef int preset_ent_iob = st.B_(0).ent_iob
|
cdef int preset_ent_iob = st.B_(0).ent_iob
|
||||||
if preset_ent_iob == 2:
|
if preset_ent_iob == 2:
|
||||||
return False
|
return False
|
||||||
elif preset_ent_iob == 3:
|
|
||||||
return False
|
|
||||||
elif st.B_(1).ent_iob == 1:
|
elif st.B_(1).ent_iob == 1:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user