aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix: NPE when context.getFilesDir() returns null.Keisuke Kuroyanagi2014-05-151-4/+6
| | | | | Bug: 14517587 Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6
* Remove ContextualDictionary.haveContentsChanged().Keisuke Kuroyanagi2014-05-121-6/+1
| | | | Change-Id: I7023ba4d9515dcad90e0a226f70936550c5241f4
* Merge "Add contextual dictionary to the dictionary facilitator."Keisuke Kuroyanagi2014-05-121-0/+58
|\
| * Add contextual dictionary to the dictionary facilitator.Keisuke Kuroyanagi2014-05-011-0/+58
| | | | | | | | | | Bug: 14161647 Change-Id: I0e706b2abd0cb9f351e28681e275cd7f2fdbfd9c
* | Merge "Check whether contacts have changed using hashCode()."Keisuke Kuroyanagi2014-05-091-5/+0
|\ \
| * | Check whether contacts have changed using hashCode().Keisuke Kuroyanagi2014-05-081-5/+0
| |/ | | | | | | | | Bug: 13755213 Change-Id: Ie2f7b7f9dc8bd3fce395618877d9f234287dcb21
* / Periodic GC for personalization dict.Keisuke Kuroyanagi2014-05-082-3/+2
|/ | | | Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3
* Use dictType to class map to create sub dicts.Keisuke Kuroyanagi2014-05-012-0/+4
| | | | | Bug: 13755213 Change-Id: I4dcd5684bc65f13361bf9c4f9d50b07b1e33c62d
* Create factory methods for sub dicts.Keisuke Kuroyanagi2014-05-012-9/+11
| | | | | Bug: 13755213 Change-Id: I046af54b4860d2839328f2089ea785d81d04cf43
* Simplify DictionaryFacilitatorForSuggest.Keisuke Kuroyanagi2014-05-011-16/+0
| | | | | Bug: 13755213 Change-Id: I9663d1d60fccd8deb1a22683fb06fe64dee06b45
* Merge "Prepare to implement distracter filter"Xiaojun Bi2014-04-251-2/+5
|\
| * Prepare to implement distracter filterXiaojun Bi2014-04-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was implemented according to the Plan B in the design doc: http://go/ime-misspelling-filter This CL is to create a DistracterFilter instance and pass it to PersonalizationDictionarySessionRegistrar. This patch should be checked in together with Id633b4fd45693 Bug: 13142176 Change-Id: Ia4957e64218c9619fcf9bb91795a187617c72a2e
* | Handle personalization dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-241-12/+0
| | | | | | | | | | Bug: 13755213 Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66
* | Handle user history dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-242-36/+30
| | | | | | | | | | Bug: 13755213 Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
* | Remove clearAndFlushDictionary() and use clear().Keisuke Kuroyanagi2014-04-242-10/+2
|/ | | | | | | | | 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
* Always close binary dicts for personalized dicts.Keisuke Kuroyanagi2014-04-031-1/+1
| | | | | | Bug: 10923130 Bug: 13664080 Change-Id: Ib247c775194a03462387994cd832b1650bfd1915
* Remove unused method.Keisuke Kuroyanagi2014-03-271-5/+0
| | | | Change-Id: Iefb75136080e73c357511df045816f18cec767a6
* Merge "Use dynamic operations to construct all ver4 dicts."Keisuke Kuroyanagi2014-02-281-14/+6
|\
| * Use dynamic operations to construct all ver4 dicts.Keisuke Kuroyanagi2014-02-271-14/+6
| | | | | | | | | | | | Bug: 8187060 Bug: 13127350 Change-Id: I081ee904c41898128efa8ba7a1bf3fa0a46c6231
* | Added a method and run GC for testing.Keisuke Kuroyanagi2014-02-283-11/+34
|/ | | | | Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e
* Add a method to create dict with additional attributes.Keisuke Kuroyanagi2014-02-261-1/+12
| | | | | Bug: 13197276 Change-Id: I80311a51d9e98bfeb8c0dd9cd4adde93af366d54
* Disconnect app data search client after fetching all data.Keisuke Kuroyanagi2014-02-241-0/+5
| | | | | Bug: 13138201 Change-Id: Ibaa3c2c22a4fe44ea23e92ce8576141bbad09b12
* Remove personalization dicts for multilingual users.Keisuke Kuroyanagi2014-02-191-3/+6
| | | | | Bug: 13067743 Change-Id: I1f50cb137b6054dc9442237586b70fc0aa2bf427
* Fix UserHistoryDictionaryTestsTadashi G. Takaoka2014-02-131-3/+2
| | | | Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
* Refactor dictionary constructorTadashi G. Takaoka2014-02-133-29/+12
| | | | | | | This change must be checked in together with I3923d5af2a. Bug: 12994268 Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
* Stop considering personalization dicts outputs as wordsJean Chalard2014-02-052-0/+12
| | | | | | Bug: 12800726 Bug: 12798403 Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
* Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-041-8/+8
| | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* Make dumpAllWordsForDebug() use getNextWordProperty().Keisuke Kuroyanagi2014-02-042-188/+0
| | | | | | Bug: 11736680 Bug: 12810574 Change-Id: I32a388e23ee7da5d7291e88a46c90b61d2f25dee
* [HD03] Straighten out attribute key names in Java.Jean Chalard2014-01-311-5/+5
| | | | | Bug: 11281748 Change-Id: I1d813bdacd45bcfd9c4cc73ac1d67c5c89854e86
* Make contacts dict and user dict version 4.Keisuke Kuroyanagi2014-01-171-7/+0
| | | | | Bug: 12515251 Change-Id: I0b332e03b9102957bffaea56d4de17b9ee3cef23
* Update personalization dict via dictionary facilitator.Keisuke Kuroyanagi2014-01-153-108/+0
| | | | Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5
* Move LanguageModelParams class to utility packageTadashi G. Takaoka2014-01-152-2/+2
| | | | | | This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29
* Check corpus handles during startup for personalization.Keisuke Kuroyanagi2014-01-101-1/+1
| | | | | Bug: 12479792 Change-Id: I62fd75d4bebd28afebd9631e865f5d59385511e7
* Prepare using dictionaryFacilitator for amanatto updates.Keisuke Kuroyanagi2014-01-071-2/+6
| | | | | Bug: 11736529 Change-Id: I0d9d9b1c1108b11064163df7c2089f53e92cd7ad
* Update personalized dict only when single subtype is used.Keisuke Kuroyanagi2014-01-071-1/+1
| | | | | Bug: 12424891 Change-Id: If041d1ab45988dbf9b878ae3367fee0fbc8a8988
* Remove personalized dicts when the option is turned off.Keisuke Kuroyanagi2013-12-254-4/+52
| | | | | | Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
* Enable Personalized dictionaries based on the setting.Keisuke Kuroyanagi2013-12-171-2/+2
| | | | | Bug: 11757851 Change-Id: I83e484195f036e35cbae21fe63148bc9c22bfad7
* Make required binary dictionary version use FormatSpec.*Keisuke Kuroyanagi2013-12-161-1/+1
| | | | Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461
* Remove flags from Java side.Jean Chalard2013-12-131-2/+0
| | | | | | | | | | | | 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
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-138-469/+160
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix: Suggested words from user history are invalid.Keisuke Kuroyanagi2013-10-221-9/+0
| | | | | | | | - Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
* Set the shortcut frequency correctly.Jean Chalard2013-10-072-5/+11
| | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-0/+1
| | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* Try decaying user history at hourly intervals.Keisuke Kuroyanagi2013-10-023-1/+82
| | | | | | Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
* Implement simple dictionary decay.Keisuke Kuroyanagi2013-09-301-2/+9
| | | | | | | | | | Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-295-20/+19
|\
| * Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-285-20/+19
| | | | | | | | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* | Fix PrioritizedSerialExecutor.Yuichiro Hanada2013-09-271-4/+4
|/ | | | | | | | It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-265-17/+32
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Quit using ExpandableDictionary.Keisuke Kuroyanagi2013-09-241-5/+5
| | | | | Bug: 6669677 Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94