question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for span categorizer?

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
polmcommented, Sep 8, 2021

Yes, it’s fine to leave it open as a potential enhancement.

1reaction
polmcommented, Sep 7, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found