diff --git a/spacy/pipeline.pxd b/spacy/pipeline.pxd index 37b83fe47..2ade6a0c4 100644 --- a/spacy/pipeline.pxd +++ b/spacy/pipeline.pxd @@ -9,5 +9,5 @@ cdef class EntityRecognizer(BeamParser): pass -cdef class DependencyParser(BeamParser): +cdef class DependencyParser(Parser): pass diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 46d298d81..5e77013f4 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -29,7 +29,7 @@ cdef class EntityRecognizer(BeamParser): self.vocab._serializer = None -cdef class DependencyParser(BeamParser): +cdef class DependencyParser(Parser): TransitionSystem = ArcEager feature_templates = get_feature_templates('basic')