From 0a74e8c260c4aa4bd8f105d08b74af8c20caca02 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Fri, 3 Mar 2023 15:54:54 +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 1575abfa5..a0bc9a54c 100644 --- a/spacy/pipeline/spancat.py +++ b/spacy/pipeline/spancat.py @@ -149,7 +149,7 @@ def make_spancat( threshold: float, max_positive: Optional[int], ) -> "SpanCategorizer": - """Create a SpanCategorizer component and configure it for multilabel + """Create a SpanCategorizer component and configure it for multi-label classification to be able to assign multiple labels for each span. The span categorizer consists of two parts: a suggester function that proposes candidate spans, and a labeller