mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Add classes for beam parser and beam NER
This commit is contained in:
parent
cb39b6e337
commit
fa23278ee3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user