# Copied from https://github.com/tvst/st-annotated-text import streamlit as st from annotated_text import annotated_text annotated_text( "This ", ("is", "verb"), " some ", ("annotated", "adj"), ("text", "noun"), " for those of ", ("you", "pronoun"), " who ", ("like", "verb"), " this sort of ", ("thing", "noun"), "." )