aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableDictionary.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Read and use user dictionary shortcuts.•••Bug: 4646172 Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed Jean Chalard2012-05-151-20/+68
* Pass the previous word to getSuggestions•••This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0 Jean Chalard2012-04-171-4/+5
* Come back the proximity correction to ExpandableDictionary•••Bug: 6242539 Change-Id: Ic0467d54c9d85d0653812d4e127328878ef15b94 satok2012-04-021-3/+10
* Fix AIOOBE•••Bug: 6236912 Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288 satok2012-03-281-12/+13
* ongoing cleanup 2•••Change-Id: I66b61cbe491cf8375144e834390beae3209a777d satok2012-03-271-2/+6
* Convert an internal enum into an int of same underlying value.•••Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7 Jean Chalard2012-01-261-3/+3
* Change visibility to avoid synthetic accessor method•••Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1 Tadashi G. Takaoka2011-12-151-0/+2
* Cleanup unused import•••This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad Tadashi G. Takaoka2011-10-041-17/+14
* Fix a bug with synchronicity of spell checking/user dict•••This fixes a race condition that would end up with the spell checker not finding some words in the user dictionary when it just booted. Bug: 5194627 Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de Jean Chalard2011-08-291-3/+11
* Have the spell checker use the User dictionary.•••Bug: 5175868 Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef Jean Chalard2011-08-191-4/+3
* Create a way to pass the proximity info to the dictionary•••This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7 Jean Chalard2011-08-041-1/+3
* Squash case for bigram insertion/lookup.•••Bug: 4464446 Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8 Jean Chalard2011-05-231-9/+24
* Straighten out magic space vs real spaces behavior.•••Picking a suggestion inserts a space after the word. This change makes this space a magic space. Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code, and remove a useless import directive in some unrelated file. Bug: 4319740 Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4 Jean Chalard2011-05-021-3/+4
* Reinforce user-history based bigram use.•••- Have user-history based bigrams used as soon as they are entered, not after 6 times. - Limit bigram frequency to 255 (this limits the multiplier to 1.8, and has no effect on main dict bigrams which already have this limit) - Some TODO resolving bug: 4192129 Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547 Jean Chalard2011-04-061-13/+16
* Add Utils.equalsIgnoreCase methods•••This change also corrects usage of "frequency", "priority" and "score" * Frequency is the relative probability in dictionary. * Score is the relative probability in suggestions. * Priority is kind a sorted score. Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699 Tadashi G. Takaoka2011-03-161-1/+1
* Merge "Demote skipped characters matched words with respect to length." into ...Jean Chalard2011-03-041-9/+32
|\
| * Demote skipped characters matched words with respect to length.•••Words that matched user input with skipped characters used to be demoted in BinaryDictionary by a constant factor and not at all in those dictionaries implemented in java code. To represent the fact that the impact of a skipped character gets larger as the word is shorter, this change will implement a demotion that gets larger as the typed word is shorter. The demotion rate is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2. It implements it for both BinaryDictionary and java dictionaries. Bug: 3340731 Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89 Jean Chalard2011-03-051-9/+32
* | Fix a NPE caused by a null typedWord•••bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0 Ken Wakasa2011-03-051-1/+1
|/
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-12/+4
* Fix StringIndexOutOfBoundsException•••bug: 3325065 Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d Ken Wakasa2011-01-091-1/+2
* Remove Tutorial class and unused debug feature•••This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5 Tadashi G. Takaoka2010-12-101-82/+95
* Cleanup unused Java import•••This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f Tadashi G. Takaoka2010-11-291-2/+2
* -UserBigram•••-UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516 Jae Yong Sung2010-08-101-28/+57
* - separate dict (uses xml)•••- retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f Jae Yong Sung2010-07-281-33/+160
* Merge remote branch 'goog/master'•••Conflicts: java/res/xml/prefs.xml java/src/com/android/inputmethod/latin/BinaryDictionary.java java/src/com/android/inputmethod/latin/Dictionary.java java/src/com/android/inputmethod/latin/ExpandableDictionary.java java/src/com/android/inputmethod/latin/LatinIME.java java/src/com/android/inputmethod/latin/Suggest.java tests/src/com/android/inputmethod/latin/tests/SuggestTests.java satok2010-07-161-2/+4
|\
| * added bigram prediction••• - after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411 Jae Yong Sung2010-07-131-2/+3
* | Check suggested words whether they are from mainDic or not•••- Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb satok2010-06-021-6/+5
|/
* Load UserDictionary and AutoDictionary in a background thread.•••This is to avoid ANRs during bootup, as some of the providers may not have been initialized yet. Refactored the ContactsDictionary and moved the async loading code to ExpandableDictionary to share with the other dicts. Bug: 2501133 Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2 Amith Yamasani2010-03-101-0/+69
* Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986 Amith Yamasani2010-03-091-0/+465