mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-01 10:23:07 +03:00
Update spacy/pipeline/spancat.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
acb927b79c
commit
0a74e8c260
|
@ -149,7 +149,7 @@ def make_spancat(
|
||||||
threshold: float,
|
threshold: float,
|
||||||
max_positive: Optional[int],
|
max_positive: Optional[int],
|
||||||
) -> "SpanCategorizer":
|
) -> "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.
|
classification to be able to assign multiple labels for each span.
|
||||||
The span categorizer consists of two
|
The span categorizer consists of two
|
||||||
parts: a suggester function that proposes candidate spans, and a labeller
|
parts: a suggester function that proposes candidate spans, and a labeller
|
||||||
|
|
Loading…
Reference in New Issue
Block a user