diff --git a/spacy/pipeline.pxd b/spacy/pipeline.pxd index 2ade6a0c4..b08f18f33 100644 --- a/spacy/pipeline.pxd +++ b/spacy/pipeline.pxd @@ -5,9 +5,17 @@ from .syntax.arc_eager cimport ArcEager from .tagger cimport Tagger -cdef class EntityRecognizer(BeamParser): +cdef class EntityRecognizer(Parser): pass cdef class DependencyParser(Parser): pass + + +cdef class BeamEntityRecognizer(BeamParser): + pass + + +cdef class BeamDependencyParser(BeamParser): + pass diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 5e77013f4..45e443519 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -11,7 +11,7 @@ from .syntax.parser import get_templates as get_feature_templates from .attrs import DEP, ENT_TYPE -cdef class EntityRecognizer(BeamParser): +cdef class EntityRecognizer(Parser): """Annotate named entities on Doc objects.""" TransitionSystem = BiluoPushDown