That new label based version really is great! 🎉 However I have the feeling it doesn't match the annotator user experience: it is not straightforward how to visualize all annotations and how to edit an existing annotation.
If I may, here is an proposition:
You could build upon the st annotated text lib: https://st-annotated-text.streamlit.app/
It features an easy way to visualize annotations, as they are in the text, with the category directly integrated in the annotation, and an automatic color box so that all annotations from the same category share the same color.
As an annotator, I might want then to :
visualize previous annotations loaded just like st annotated text
delete an annotation by directly clicking on the annotation. Here is a suggestion
create a new annotation, by selecting a word (just like you support texte selection today), and then displaying a selection input. Here is a suggestion
I assume the categories would be picked from a fixed list.
That new label based version really is great! 🎉 However I have the feeling it doesn't match the annotator user experience: it is not straightforward how to visualize all annotations and how to edit an existing annotation.
If I may, here is an proposition: You could build upon the
st annotated text
lib: https://st-annotated-text.streamlit.app/ It features an easy way to visualize annotations, as they are in the text, with the category directly integrated in the annotation, and an automatic color box so that all annotations from the same category share the same color.As an annotator, I might want then to :
visualize previous annotations loaded just like
st annotated text
delete an annotation by directly clicking on the annotation. Here is a suggestion
create a new annotation, by selecting a word (just like you support texte selection today), and then displaying a selection input. Here is a suggestion
I assume the categories would be picked from a fixed list.