Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup verb form variants #29

Open
jokull opened this issue Aug 18, 2020 · 0 comments
Open

Lookup verb form variants #29

jokull opened this issue Aug 18, 2020 · 0 comments

Comments

@jokull
Copy link
Contributor

jokull commented Aug 18, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant