aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization/DecayingExpandableBinaryDictionaryBase.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-4/+0
* Add Dictionary.isInDictionary().•••Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e Keisuke Kuroyanagi2014-06-091-0/+6
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-1/+0
* Check whether contacts have changed using hashCode().•••Bug: 13755213 Change-Id: Ie2f7b7f9dc8bd3fce395618877d9f234287dcb21 Keisuke Kuroyanagi2014-05-081-5/+0
* Simplify DictionaryFacilitatorForSuggest.•••Bug: 13755213 Change-Id: I9663d1d60fccd8deb1a22683fb06fe64dee06b45 Keisuke Kuroyanagi2014-05-011-16/+0
* Handle personalization dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213 Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66 Keisuke Kuroyanagi2014-04-241-12/+0
* Handle user history dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213 Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b Keisuke Kuroyanagi2014-04-241-32/+1
* Remove clearAndFlushDictionary() and use clear().•••clearAndFlushDictionary() was needed when dictionaries are constructed in java side. All expandable dictionaries now use native code; thus, this method is same to clear() and no longer needed. Bug: 13755213 Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70 Keisuke Kuroyanagi2014-04-241-9/+1
* Always close binary dicts for personalized dicts.•••Bug: 10923130 Bug: 13664080 Change-Id: Ib247c775194a03462387994cd832b1650bfd1915 Keisuke Kuroyanagi2014-04-031-1/+1
* Remove unused method.•••Change-Id: Iefb75136080e73c357511df045816f18cec767a6 Keisuke Kuroyanagi2014-03-271-5/+0
* Merge "Use dynamic operations to construct all ver4 dicts."Keisuke Kuroyanagi2014-02-281-14/+6
|\
| * Use dynamic operations to construct all ver4 dicts.•••Bug: 8187060 Bug: 13127350 Change-Id: I081ee904c41898128efa8ba7a1bf3fa0a46c6231 Keisuke Kuroyanagi2014-02-271-14/+6
* | Added a method and run GC for testing.•••Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e Keisuke Kuroyanagi2014-02-281-1/+1
|/
* Add a method to create dict with additional attributes.•••Bug: 13197276 Change-Id: I80311a51d9e98bfeb8c0dd9cd4adde93af366d54 Keisuke Kuroyanagi2014-02-261-1/+12
* Disconnect app data search client after fetching all data.•••Bug: 13138201 Change-Id: Ibaa3c2c22a4fe44ea23e92ce8576141bbad09b12 Keisuke Kuroyanagi2014-02-241-0/+5
* Fix UserHistoryDictionaryTests•••Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837 Tadashi G. Takaoka2014-02-131-3/+2
* Refactor dictionary constructor•••This change must be checked in together with I3923d5af2a. Bug: 12994268 Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de Tadashi G. Takaoka2014-02-131-14/+3
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-041-8/+8
* Make dumpAllWordsForDebug() use getNextWordProperty().•••Bug: 11736680 Bug: 12810574 Change-Id: I32a388e23ee7da5d7291e88a46c90b61d2f25dee Keisuke Kuroyanagi2014-02-041-60/+0
* [HD03] Straighten out attribute key names in Java.•••Bug: 11281748 Change-Id: I1d813bdacd45bcfd9c4cc73ac1d67c5c89854e86 Jean Chalard2014-01-311-5/+5
* Make contacts dict and user dict version 4.•••Bug: 12515251 Change-Id: I0b332e03b9102957bffaea56d4de17b9ee3cef23 Keisuke Kuroyanagi2014-01-171-7/+0
* Move LanguageModelParams class to utility package•••This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29 Tadashi G. Takaoka2014-01-151-1/+1
* Enable Personalized dictionaries based on the setting.•••Bug: 11757851 Change-Id: I83e484195f036e35cbae21fe63148bc9c22bfad7 Keisuke Kuroyanagi2013-12-171-2/+2
* Make required binary dictionary version use FormatSpec.*•••Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461 Keisuke Kuroyanagi2013-12-161-1/+1
* Remove flags from Java side.•••This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1 Jean Chalard2013-12-131-2/+0
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-84/+83
* Fix: Suggested words from user history are invalid.•••- Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270 Keisuke Kuroyanagi2013-10-221-9/+0
* Set the shortcut frequency correctly.•••14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f Jean Chalard2013-10-071-3/+3
* Fix UserHistoryDictionaryTests.•••Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c Keisuke Kuroyanagi2013-10-031-0/+1
* Try decaying user history at hourly intervals.•••Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803 Keisuke Kuroyanagi2013-10-021-0/+4
* Implement simple dictionary decay.•••Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe Keisuke Kuroyanagi2013-09-301-2/+9
* Set header attributes for ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523 Keisuke Kuroyanagi2013-09-281-3/+4
* Create empty dictionary file in native code.•••Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212 Keisuke Kuroyanagi2013-09-261-0/+231