From b728eaae18f3c1860a8beb2348cc471227e75b33 Mon Sep 17 00:00:00 2001 From: Lj Miranda <12949683+ljvmiranda921@users.noreply.github.com> Date: Thu, 25 Aug 2022 16:08:15 +0800 Subject: [PATCH] Update spacy/pipeline/spancat_exclusive.py Co-authored-by: kadarakos --- spacy/pipeline/spancat_exclusive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/spancat_exclusive.py b/spacy/pipeline/spancat_exclusive.py index 4f8005cca..a2401b931 100644 --- a/spacy/pipeline/spancat_exclusive.py +++ b/spacy/pipeline/spancat_exclusive.py @@ -83,7 +83,7 @@ def make_spancat( ) -> "SpanCategorizerExclusive": """Create a SpanCategorizerExclusive component. The span categorizer consists of two parts: a suggester function that proposes candidate spans, and a labeller - model that predicts one or more labels for each span. + model that predicts a single label for each span. suggester (Callable[[Iterable[Doc], Optional[Ops]], Ragged]): A function that suggests spans. Spans are returned as a ragged array with two integer columns, for the