From 99b631617d77fcaba80794a862e589b047e497f6 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 21 May 2017 13:32:15 +0200 Subject: [PATCH] Reformat docstrings --- spacy/pipeline.pyx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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