From f77a5bb60aa7fee5bfe2d56da0938bd328a0fb3e Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 11 Mar 2017 11:11:30 -0600 Subject: [PATCH] Switch back to greedy parser --- spacy/pipeline.pxd | 2 +- spacy/pipeline.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')