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

is there a way to add custom variations? #575

Open
Courvoisier13 opened this issue Oct 27, 2022 · 0 comments
Open

is there a way to add custom variations? #575

Courvoisier13 opened this issue Oct 27, 2022 · 0 comments

Comments

@Courvoisier13
Copy link

Is there a way to define a custom variation list in Whoosh? For example, 'cat'->'caterpillar'

In the Whoosh python package, I am trying to add a custom variation equivalence. I can see that the variations are defined with a set of rules in whoosh.lang.morph_en but I can't see a way to add custom variations to it as a parameter to the QueryParser.
Is there a way I am missing?

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