From c7e7343999b56da6a9bce97c4db5f1d34fe69c95 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Fri, 3 Mar 2023 15:56:00 +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 845f651be..a1e9a8931 100644 --- a/spacy/pipeline/spancat.py +++ b/spacy/pipeline/spancat.py @@ -212,7 +212,7 @@ def make_spancat_singlelabel( allow_overlap: bool, scorer: Optional[Callable], ) -> "SpanCategorizer": - """Create a SpanCategorizer component and configure it for multiclass + """Create a SpanCategorizer component and configure it for multi-class classification. With this configuration each span can get at most one label. The span categorizer consists of two parts: a suggester function that proposes candidate spans, and a labeller