From b972328337a285b41e94862f73eb19bb11249e0c Mon Sep 17 00:00:00 2001 From: kadarakos Date: Fri, 3 Mar 2023 15:55:15 +0100 Subject: [PATCH] Update spacy/pipeline/spancat.py Co-authored-by: Adriane Boyd --- spacy/pipeline/spancat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/spancat.py b/spacy/pipeline/spancat.py index a0bc9a54c..ebca77c34 100644 --- a/spacy/pipeline/spancat.py +++ b/spacy/pipeline/spancat.py @@ -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