mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 17:41:59 +03:00
Update website/docs/api/spancategorizer.mdx
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
2d765149c3
commit
2b4c4b3260
|
@ -20,8 +20,8 @@ output class probabilities are independent for each class. However, if you need
|
|||
to predict at most one true class for a span, then use `spancat_singlelabel`. It
|
||||
uses a `Softmax` layer and treats the task as a multi-class problem.
|
||||
|
||||
Predicted spans will be saved in a [`SpanGroup`](/api/spangroup) on the `doc.spans["spans_key"]`,
|
||||
where `"spans_key"` can be specified for the component.
|
||||
Predicted spans will be saved in a [`SpanGroup`](/api/spangroup) on the doc under `doc.spans[spans_key]`,
|
||||
where `spans_key` is a component config setting.
|
||||
Individual span scores are stored in `spangroup.attrs["scores"]`.
|
||||
|
||||
## Assigned Attributes {id="assigned-attributes"}
|
||||
|
|
Loading…
Reference in New Issue
Block a user