diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 04f62b6bc..c118c3dd0 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -270,9 +270,7 @@ class NeuralTagger(object): cdef class EntityRecognizer(LinearParser): - """ - Annotate named entities on Doc objects. - """ + """Annotate named entities on Doc objects.""" TransitionSystem = BiluoPushDown feature_templates = get_feature_templates('ner') @@ -284,9 +282,7 @@ cdef class EntityRecognizer(LinearParser): cdef class BeamEntityRecognizer(BeamParser): - """ - Annotate named entities on Doc objects. - """ + """Annotate named entities on Doc objects.""" TransitionSystem = BiluoPushDown feature_templates = get_feature_templates('ner') @@ -337,8 +333,6 @@ cdef class NeuralEntityRecognizer(NeuralParser): return ids - - cdef class BeamDependencyParser(BeamParser): TransitionSystem = ArcEager