From 6a10d56caf05c03e410b9a8dacc101ae1b69c99d Mon Sep 17 00:00:00 2001 From: Lj Miranda Date: Wed, 30 Nov 2022 15:43:49 +0800 Subject: [PATCH] Update spancat_exclusive docstring --- 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 58fcb5946..64a3e0b24 100644 --- a/spacy/pipeline/spancat_exclusive.py +++ b/spacy/pipeline/spancat_exclusive.py @@ -71,7 +71,7 @@ def make_spancat( ) -> "Exclusive_SpanCategorizer": """Create a SpanCategorizerExclusive component. The span categorizer consists of two parts: a suggester function that proposes candidate spans, and a labeler - model that predicts a single label for each span. + model that predicts a maximum of one 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