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

"Did you mean?" functionality #6

Open
joppuyo opened this issue Apr 3, 2019 · 0 comments
Open

"Did you mean?" functionality #6

joppuyo opened this issue Apr 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@joppuyo
Copy link
Owner

joppuyo commented Apr 3, 2019

Create a function which guesses what the user meant if they make a typographical error. This function can be called if there are no results.

  1. Enter string like "koirien kolutttaminen"
  2. Split user string to tokens
  3. For each token, run voikkospell with -s switch
  4. For each suggestion check which has most hits in database
  5. Suggest string like "koirien kouluttaminen"
@joppuyo joppuyo added the enhancement New feature or request label Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant