From af70dc166a4d7517817ef868b9adf5c3df12a694 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 7 Nov 2015 09:52:00 +1100 Subject: [PATCH] * Fix Last restriction, that was supposed to prevent conflicts with presets, but was incorrect. --- spacy/syntax/ner.pyx | 2 -- 1 file changed, 2 deletions(-) diff --git a/spacy/syntax/ner.pyx b/spacy/syntax/ner.pyx index 042ddd79b..7a883a6f4 100644 --- a/spacy/syntax/ner.pyx +++ b/spacy/syntax/ner.pyx @@ -259,8 +259,6 @@ cdef class Last: cdef int preset_ent_iob = st.B_(0).ent_iob if preset_ent_iob == 2: return False - elif preset_ent_iob == 3: - return False elif st.B_(1).ent_iob == 1: return False