mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-29 21:33:42 +03:00
Update spancat_exclusive docstring
This commit is contained in:
parent
14bf26d3e6
commit
6a10d56caf
|
@ -71,7 +71,7 @@ def make_spancat(
|
||||||
) -> "Exclusive_SpanCategorizer":
|
) -> "Exclusive_SpanCategorizer":
|
||||||
"""Create a SpanCategorizerExclusive component. The span categorizer consists of two
|
"""Create a SpanCategorizerExclusive component. The span categorizer consists of two
|
||||||
parts: a suggester function that proposes candidate spans, and a labeler
|
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.
|
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
|
Spans are returned as a ragged array with two integer columns, for the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user