GreynirEngine icon indicating copy to clipboard operation
GreynirEngine copied to clipboard

Lookup verb form variants

Open jokull opened this issue 3 years ago • 0 comments

Is there a way to get verb form variants in the same way you can get case variants for nouns?

Something like

>>> BIN_Db.lookup_past_participle("sækja")

The use case is for a results highlighter. Lemmas are indexed, but I would like to highlight the original forms based on search string lemmas. For this I need to potentially highlight derived word forms. I’m basically writing a get_all_meaning_wordforms function that returns a set of strings that should be highlighted.

jokull avatar Aug 18 '20 09:08 jokull