Skip to content
Snippets Groups Projects
Commit a111164b authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Improve algorithm in a few ways:

* If the first letter is capital, only capitalized first tokens will be sampled. If the whole text is capitalized, then only fully capital tokens will be sampled for the whole word
* If a word is an exact match, it gets boosted relative to others
* Probability threshold for autocorrect is now 18.0
* Add "clueless" threshold, if it's less than 1.3 then just show the user's typed word in the middle instead.
parent 3aecbd5a
No related branches found
No related tags found
2 merge requests!7Merge model-metadata to master,!6Add autocorrect threshold to model-metadata branch
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment