Skip to content
Snippets Groups Projects
  • Aleksandras Kostarevas's avatar
    a111164b
    Improve algorithm in a few ways: · a111164b
    Aleksandras Kostarevas authored
    * 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.
    a111164b
    History
    Improve algorithm in a few ways:
    Aleksandras Kostarevas authored
    * 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.