Span highlighting component

Would love to explore an interactive component where user can:

  1. Highlight text in the streamlit app
  2. Streamlit returns the character offsets of the highlight selection

Is something like this supported?

Hello @vincent , welcome to the community :tada:

This looks like a perfect usecase for a component! But maybe this is actually supported through streamlit-labelstudio (a streamlit component over LabelStudio which it seems has text annotation) ?. I haven’t dug into it much, maybe @fungidick has more info on this.

In all cases I’m interested in hearing back from your progress on this :slight_smile:

Fanilo :balloon: