mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 01:04:34 +03:00
Reformat docstrings
This commit is contained in:
parent
885e82c9b0
commit
99b631617d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user