From 2b4c4b3260e70c5cb71b317dca123467c839c830 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Fri, 24 Mar 2023 10:53:46 +0100 Subject: [PATCH] Update website/docs/api/spancategorizer.mdx Co-authored-by: Adriane Boyd --- website/docs/api/spancategorizer.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/spancategorizer.mdx b/website/docs/api/spancategorizer.mdx index b8c26a878..21e9fbb7f 100644 --- a/website/docs/api/spancategorizer.mdx +++ b/website/docs/api/spancategorizer.mdx @@ -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"}