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

Analyzer for query / terms normalisation #12

Open
agazzarini opened this issue Jan 3, 2018 · 0 comments
Open

Analyzer for query / terms normalisation #12

agazzarini opened this issue Jan 3, 2018 · 0 comments
Assignees

Comments

@agazzarini
Copy link
Member

That would allow to reuse existing Lucene stuff for normalizing the query string before the quantities detection happens.
At this time, just a basic normalization (lowercasing) is done and it's hard-coded. Using an analyzer would allow a more powerful pre-analysis like diacritics, lowercasing, stemming (note that the current configuration requires you to provide singular / plural for the same unit)

@agazzarini agazzarini self-assigned this Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant