Skip to content
Discussion options

You must be logged in to vote

Hello,
The Spancat component saves the predicted spans to a SpanGroup (in your case spans_key = "sc"). You can access the spans from the SpanGroup by:
docs.spans["sc"]
Then you can access the predicted labels from the span by:
span.label_

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smisra1
Comment options

Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
2 participants