aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/UserBigramDictionary.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename the user history dictionary.•••UserBigramDictionary -> UserHistoryDictionary. Also update all methods, strings and comments, except those needed for backward compatibility (which only include the name of the database file). Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae Jean Chalard2012-03-191-469/+0
* Fix NPE•••bug: 6181736 Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015 satok2012-03-171-2/+10
* Move the UserUnigramDictionary functionality over•••UserBigramDictionary now assumes both functionalities. It will be renamed to UserHistoryDictionary in a future change. There are several reasons to do this. First, there is a lot of duplicate code in User{Unigram,Bigram}Dictionaries that are factored by the few lines of code in this change. Also, other dictionaries like BinaryDictionary or ContactsDictionary all assume both responsibilities, as should be the case theoretically. It is also possible to do this because previous versions don't write any unigram data that we'd want to reuse. For even older versions that do write data, we can't really make any sense out of it. Bigram data however can be useful, and this allows us to reuse it easily. Change-Id: I755525f92744e1536eaef097527e8151b7859a30 Jean Chalard2012-03-161-9/+53
* Streamline some user history dictionary code•••A lot of things don't really make sense in the old code. Let's streamline it for now so that we have a cleaner interface to work with. This is preliminary work for bug 4192129. Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346 Jean Chalard2012-03-161-1/+1
* Try to survive unavailability of local storage•••Bug: 6035465 Change-Id: Ibe2d542349ec598824f78b91d374a977082fc2d1 Jean Chalard2012-03-011-7/+25
* Various mini-cleanups•••- Stop the word composer from escaping - take a page from the law of Demeter and only report what is actually needed. - Fix typos in comments. - Add a comment for a fishy processing. - Remove a useless local variable. Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6 Jean Chalard2011-12-131-1/+1
* Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765 Tadashi G. Takaoka2011-10-281-4/+4
* Cleanup unused import•••This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad Tadashi G. Takaoka2011-10-041-6/+6
* Squash case for bigram insertion/lookup.•••Bug: 4464446 Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8 Jean Chalard2011-05-231-1/+1
* Fix copyright author from Google to AOSP•••Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532 Tadashi G. Takaoka2011-05-201-1/+1
* Use user-history bigrams when no input if available.•••This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15 Jean Chalard2011-04-221-0/+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-6/+0
* Remove Tutorial class and unused debug feature•••This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5 Tadashi G. Takaoka2010-12-101-9/+9
* Cleanup unused Java import•••This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f Tadashi G. Takaoka2010-11-291-4/+4
* Clean up LatinIME java•••- remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894 satok2010-08-241-2/+1
* DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963 satok2010-08-201-0/+402