CODAIT / text-extensions-for-pandas

Natural language processing support for Pandas dataframes.
Apache License 2.0
215 stars 34 forks source link

Add interactivity to HTML representation of SpanArrays #202

Closed frreiss closed 2 years ago

frreiss commented 3 years ago

Add interactivity to the HTML representation of SpanArrays and TokenSpanArray. When the cursor hovers over a span in the tabular representation of the array, the corresponding span in the text should be highlighted, and vice versa. It would be nice if there was also an ability to click on a span to make it stay highlighted.

This set of changes depends on #201 being implemented.