aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-devKeisuke Kuroyanagi2014-07-251-2/+2
|\
| * Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.Keisuke Kuroyanagi2014-07-281-2/+2
| | | | | | | | | | Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
* | Fix NPE when context.getFilesDir() returns null.Keisuke Kuroyanagi2014-07-281-0/+1
|/ | | | | Bug: 16416948 Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
* Use CharSequence for spell checker to keep spans preservedYohei Yukawa2014-07-201-2/+3
| | | | | | | | | | | | This is a ground work to take per word locale information into consideration in the spell checker. This CL is supposed to change no user visible behavior. With this CL, the spell checker session is able to read span information if necessary. BUG: 16029304 Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210
* Fix build.Keisuke Kuroyanagi2014-06-261-1/+1
| | | | Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
* Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-241-1/+1
|\
| * Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-251-1/+1
| | | | | | | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* | Make Beginning-of-Sentence prediction require two exposures.Keisuke Kuroyanagi2014-06-251-1/+7
| | | | | | | | | | Bug: 15868192 Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
* | Enable beginning-of-sentence prediction.Keisuke Kuroyanagi2014-06-241-5/+0
|/ | | | | Bug: 14119293 Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7
* Fix: NPE when initializing AOSP keyboard.Keisuke Kuroyanagi2014-06-171-3/+12
| | | | | Bug: 15677822 Change-Id: Ibebb215a08795482c0f1eef965db06af57558906
* Update suggestion strip when the contextual dict is updated.Keisuke Kuroyanagi2014-06-161-1/+2
| | | | | Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7
* Merge "Contextual dictionary updater."Keisuke Kuroyanagi2014-06-101-0/+36
|\
| * Contextual dictionary updater.Keisuke Kuroyanagi2014-06-131-0/+36
| | | | | | | | | | Bug: 14161647 Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18
* | Merge "Personalization dictionary updater."Keisuke Kuroyanagi2014-06-101-14/+13
|\|
| * Personalization dictionary updater.Keisuke Kuroyanagi2014-06-131-14/+13
| | | | | | | | | | Bug: 14161647 Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95
* | Merge "Enable Beginning-of-Sentence prediction for contextual dict."Keisuke Kuroyanagi2014-06-101-0/+6
|\ \ | |/ |/|
| * Enable Beginning-of-Sentence prediction for contextual dict.Keisuke Kuroyanagi2014-06-121-0/+6
| | | | | | | | | | | | Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
* | Fix: Wrong name for ContextualDictionary.Keisuke Kuroyanagi2014-06-111-1/+1
|/ | | | | Bug: 15557070 Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0
* Add prefix to the arguments of getDictionary().Keisuke Kuroyanagi2014-06-103-3/+3
| | | | | Bug: 13630847 Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
* Add Dictionary.isInDictionary().Keisuke Kuroyanagi2014-06-093-12/+6
| | | | | | Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
* Apply distracter filter for UserHistoryDictionary.Keisuke Kuroyanagi2014-05-271-3/+6
| | | | | Bug: 13142176 Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-243-12/+8
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Move distracter filter to dictionary facilitator.Keisuke Kuroyanagi2014-05-232-5/+39
| | | | | | Bug: 13142176 Bug: 15094186 Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7
* Have DictionaryFacilitator in LatinIME.Keisuke Kuroyanagi2014-05-231-3/+3
| | | | | | Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-12/+16
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-16/+12
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-201-12/+16
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* 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