Reformat docstrings

This commit is contained in:
ines 2017-05-21 13:32:15 +02:00
parent 885e82c9b0
commit 99b631617d

View File

@ -270,9 +270,7 @@ class NeuralTagger(object):
cdef class EntityRecognizer(LinearParser): cdef class EntityRecognizer(LinearParser):
""" """Annotate named entities on Doc objects."""
Annotate named entities on Doc objects.
"""
TransitionSystem = BiluoPushDown TransitionSystem = BiluoPushDown
feature_templates = get_feature_templates('ner') feature_templates = get_feature_templates('ner')
@ -284,9 +282,7 @@ cdef class EntityRecognizer(LinearParser):
cdef class BeamEntityRecognizer(BeamParser): cdef class BeamEntityRecognizer(BeamParser):
""" """Annotate named entities on Doc objects."""
Annotate named entities on Doc objects.
"""
TransitionSystem = BiluoPushDown TransitionSystem = BiluoPushDown
feature_templates = get_feature_templates('ner') feature_templates = get_feature_templates('ner')
@ -337,8 +333,6 @@ cdef class NeuralEntityRecognizer(NeuralParser):
return ids return ids
cdef class BeamDependencyParser(BeamParser): cdef class BeamDependencyParser(BeamParser):
TransitionSystem = ArcEager TransitionSystem = ArcEager