The Wikipedia Android app is developing a "Link preview" feature that shows a page image and text extract, just like Hovercards. As I understand it, the Java code removes stuff in parentheses and dates, and adapts to show either one sentence or more than one depending how long the result from textextrace API is.
It seems to me the Hovercards (Popups) extension would benefit from all these enhancements (similar bugs have been filed like T93160: Hovercards sometimes has contents in brackets (parentheses) appearing in excerpts, especially at ruwiki), so the textextracts API should implement getSentences() and removeParens() (if API clients specify a dotherightthing=1 parameter :) ).