aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/android/inputmethod/latin/ExpandableDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-465/+0
| | | | | | | Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
* Fix incorrect matching of last character to unexpected names in contactAmith Yamasani2010-03-041-1/+1
| | | | | | | | | | dictionary. Example, "ho9" would match "Shoemaker", if "Shoemaker" existed in your contacts. This was due to premature switch to completions mode when trying to insert a missing letter. This syncs up the Java version to what the native one was doing.
* Increase target size of preferred letters while typing.Amith Yamasani2010-02-081-1/+9
| | | | | | | | | | This increases the chance of hitting the correct letter when typing a word that exists in the dictionary, rather than only correct it after the fact. It is most effective after 2 or 3 letters of a word have been typed and gets more accurate with more typed letters in the word. If 2 adjacent letters have similar probabilities of occuring, then there is no hit correction applied.
* Fix 2306814: Too aggressive suggesting names from my contacts list.Amith Yamasani2009-12-071-2/+2
| | | | | | | | | | When there is more than one instance of a name in the Contacts, it gets a very high weightage and can override corrections for very high frequency words such as "the". This fix prevents multiple occurences from increasing the frequency of a contact and also from bumping it above 255, which is the frequency of "the", "is", etc.
* Reduce weight of missing-char suggestions.Amith Yamasani2009-08-131-3/+3
|
* Some performance optimizations.Amith Yamasani2009-08-131-34/+57
| | | | | | | | | | Makes the user/contacts dictionary lookup faster. This is necessary because there's more in these dictionaries now and it's written in Java. Fix an auto-caps issue when moving the cursor. And do it a little lazily. Fixed a bug that was causing user dictionary words to get a much higher weightage than the main dictionary.
* Allow for non-starting letters to be upper case in dictionary lookup.Amith Yamasani2009-08-131-1/+5
| | | | Add lowercase optimization to user dictionary as well.
* Check for missing characters in User/Contacts dictionary as well.Amith Yamasani2009-08-131-10/+17
| | | | Also accomodate for missing characters when doing diffs between words.
* Auto add new words to the user dictionary.Amith Yamasani2009-08-131-0/+423
First pass at automatically adding new words that the user types and deliberately accepts. After typing the word 4 times, the word gets promoted to being valid. After typing the word 7 times, the word gets added into the UserDictionary and can be removed from the UserDictionary Settings UI. Also add a second row of symbols to the period popup.