mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 18:12:00 +03:00
Update spacy/pipeline/spancat.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
0a74e8c260
commit
b972328337
|
@ -314,7 +314,7 @@ class SpanCategorizer(TrainablePipe):
|
|||
threshold: Optional[float] = 0.5,
|
||||
scorer: Optional[Callable] = spancat_score,
|
||||
) -> None:
|
||||
"""Initialize the multilabel or multiclass span categorizer.
|
||||
"""Initialize the multi-label or multi-class span categorizer.
|
||||
The 'single_label' argument configures whether the component
|
||||
should only produce one label per span (multiclass) or if it
|
||||
can produce multiple labels per span (multilabel). In the
|
||||
|
|
Loading…
Reference in New Issue
Block a user