forked from mozilla-b2g/gaia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 865484 - refactor dictionary data structure and search algorithm …
…for keyboard auto-correct address Christoph's review comments cut another 40% off the dictionary size! Not sure whether this is a good idea: allow arbitrary substitutions in addition to nearby character substitutions. store the length of the longest word in the dictionary file, and use it to immediately reject input that is too long to be a word be smarter about variant forms (case and diacritics) Add abbreviations and frequency 1 words to the dictionary, increasing size about 20% simplify the algorithm and focus on corrections instead of predictions address review comments
- Loading branch information
David Flanagan
committed
Apr 30, 2013
1 parent
58665c2
commit e575f44
Showing
12 changed files
with
1,538 additions
and
962 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.