Add classes for beam parser and beam NER

This commit is contained in:
Matthew Honnibal 2017-03-11 12:45:37 -06:00
parent cb39b6e337
commit fa23278ee3
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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