Support for span categorizer?
See original GitHub issueIs it possible to visualize spancat predictions via spacy-streamlit
yet? Either directly or by customizing one of the existing visualizers? I haven’t been able to find any examples of this.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
SpanCategorizer · spaCy API Documentation
A span categorizer consists of two parts: a suggester function that proposes candidate spans, which may or may not overlap, and a labeler...
Read more >Span Categorization · Prodigy · An annotation tool for AI ...
A downloadable annotation tool for NLP and computer vision tasks such as named entity recognition, text classification, object detection, image segmentation ...
Read more >Spancat: a new approach for span labeling - Explosion AI
The SpanCategorizer is a spaCy component that answers the NLP community's need to have structured annotation for a wide variety of labeled ...
Read more >Introducing Span Categorization in Prodigy and spaCy
Prodigy is a modern annotation tool for collecting training data for machine learning models, developed by the makers of spaCy.
Read more >Detecting Toxic Spans with spaCy - Cees Roele - Medium
We will use the SpanCategorizer from spaCy to detect toxic spans. For illustration we will use a well-researched dataset. The present article focuses...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it’s fine to leave it open as a potential enhancement.
I don’t think so. Spancat introduces some hard cases, like crossing annotations or arbitrarily nested spans, that would need a different visualization strategy than NER.
If you have non-overlapping spans or some way to select a non-overlapping subset, you could copy them to
doc.ents
and use the NER visualization.