CODAIT / text-extensions-for-pandas

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

New span viz no longer shows token offsets for TokenSpanArrays #234

Closed frreiss closed 2 years ago

frreiss commented 2 years ago

When fed a TokenSpanArray as input, the new CSS-based span visualization displays a table of span information containing begin and end character offsets, but no information about the token offsets in the begin_token and end_token properties of the array. The visualization should be updated to generate a table containing both character and token offsets, as the old, non-CSS-based version did.