mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-14 18:22:27 +03:00
Update website/docs/api/spancategorizer.mdx
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
58bb92dbfa
commit
7eaebd37af
|
@ -22,7 +22,7 @@ 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 under `doc.spans[spans_key]`,
|
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.
|
where `spans_key` is a component config setting.
|
||||||
Individual span scores are stored in `spangroup.attrs["scores"]`.
|
Individual span scores are stored in `doc.spans[spans_key].attrs["scores"]`.
|
||||||
|
|
||||||
## Assigned Attributes {id="assigned-attributes"}
|
## Assigned Attributes {id="assigned-attributes"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user