aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryFacilitatorForSuggest.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Have DictionaryFacilitator in LatinIME.Keisuke Kuroyanagi2014-05-231-564/+0
| | | | | | Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-9/+11
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-11/+9
| | | | | | | | | | 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-9/+11
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-191-2/+2
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Make session id mandatory for getSuggestions.Keisuke Kuroyanagi2014-05-161-1/+1
| | | | | Bug: 15008504 Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
* Merge "Add freq=0 words to user history depending on the option."Keisuke Kuroyanagi2014-05-121-4/+6
|\
| * Add freq=0 words to user history depending on the option.Keisuke Kuroyanagi2014-05-121-4/+6
| | | | | | | | | | Bug: 14686585 Change-Id: Ia1c3adb1bcc625788016e378e1ac7b0792ea9f4e
* | Merge "Improve multi-word suggestion handling for user history."Keisuke Kuroyanagi2014-05-121-11/+23
|\|
| * Improve multi-word suggestion handling for user history.Keisuke Kuroyanagi2014-05-121-11/+23
| | | | | | | | | | Bug: 12902664 Change-Id: I03deed16047f0beaba8932d87c6129ec8061ba9c
* | Merge "Add contextual dictionary to the dictionary facilitator."Keisuke Kuroyanagi2014-05-121-1/+5
|\ \ | |/ |/|
| * Add contextual dictionary to the dictionary facilitator.Keisuke Kuroyanagi2014-05-011-1/+5
| | | | | | | | | | Bug: 14161647 Change-Id: I0e706b2abd0cb9f351e28681e275cd7f2fdbfd9c
* | Fix: mIsUserDictEnabled is never updated.Keisuke Kuroyanagi2014-05-071-0/+1
|/ | | | | | Bug: 14602321 Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
* Remove Dictionaries.mDictMap.Keisuke Kuroyanagi2014-05-011-29/+35
| | | | | Bug: 13755213 Change-Id: I9ded695c31d3db05f561956c61d56ebd16d34703
* Use dictType to class map to create sub dicts.Keisuke Kuroyanagi2014-05-011-10/+32
| | | | | Bug: 13755213 Change-Id: I4dcd5684bc65f13361bf9c4f9d50b07b1e33c62d
* Create factory methods for sub dicts.Keisuke Kuroyanagi2014-05-011-6/+5
| | | | | Bug: 13755213 Change-Id: I046af54b4860d2839328f2089ea785d81d04cf43
* Simplify DictionaryFacilitatorForSuggest.Keisuke Kuroyanagi2014-05-011-105/+69
| | | | | Bug: 13755213 Change-Id: I9663d1d60fccd8deb1a22683fb06fe64dee06b45
* Handle user dict as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-301-17/+12
| | | | | Bug: 13755213 Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
* Merge "Prepare to implement distracter filter"Xiaojun Bi2014-04-251-1/+0
|\
| * Prepare to implement distracter filterXiaojun Bi2014-04-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix: contains() is wrongly used in hasDict().Keisuke Kuroyanagi2014-04-251-1/+1
| | | | | | | | Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798
* | Fix: Wrong null check for user history dict.Keisuke Kuroyanagi2014-04-241-2/+2
| | | | | | | | Change-Id: Idf0bcc44247e35cd95f9482d2a8017329fc977bb
* | Handle personalization dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-241-13/+11
| | | | | | | | | | Bug: 13755213 Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66
* | Handle contacts dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-241-7/+4
| | | | | | | | | | Bug: 13755213 Change-Id: I0eb5055f9cdf5e1df337cdace9bf0919d4d365d3
* | Handle user history dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-241-13/+13
| | | | | | | | | | Bug: 13755213 Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
* | Simplify DictionaryFacilitatorForSuggest to be flexible.Keisuke Kuroyanagi2014-04-241-95/+65
| | | | | | | | | | Bug: 13755213 Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00
* | Remove clearAndFlushDictionary() and use clear().Keisuke Kuroyanagi2014-04-241-2/+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
* Fix: Reporting wrong main dictionary availability.Keisuke Kuroyanagi2014-04-221-4/+4
| | | | | Bug: 13965806 Change-Id: Ida2234ab8cb7785ec5efd433a58949bf21c44351
* Avoid lower-case version of capitalized words in user histJean Chalard2014-04-171-1/+13
| | | | | Bug: 14096825 Change-Id: Ib6cc8fc31e90862e0b05f5a06757a73069726b74
* Add languageWeight as an argument of getSuggestions.Keisuke Kuroyanagi2014-04-031-1/+3
| | | | | Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5
* Use fixed order of dictionaries to get suggestions.Keisuke Kuroyanagi2014-04-021-2/+11
| | | | | Bug: 8187060 Change-Id: Id287776e3a82c0a6b208d677b8f2891266c5fc8d
* Fix: NPE in isValidWord after dictionaries are closed.Keisuke Kuroyanagi2014-03-271-0/+3
| | | | | Bug: 13650542 Change-Id: I1bdc838fca48d6ef12db5e70d40273d1236128d1
* Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-251-326/+303
| | | | | | | | | | | Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
* Merge changes I20ce61c4,I2edab4e3Keisuke Kuroyanagi2014-03-031-14/+6
|\ | | | | | | | | | | * changes: Remove "Use only personalization dictionary". Remove redundant creation of dictionary facilitator.
| * Remove "Use only personalization dictionary".Keisuke Kuroyanagi2014-02-271-19/+1
| | | | | | | | | | Bug: 13216198 Change-Id: I20ce61c4a10c360e028bf6427f632cc5299763e4
| * Remove redundant creation of dictionary facilitator.Keisuke Kuroyanagi2014-02-271-0/+10
| | | | | | | | Change-Id: I2edab4e3ba4ea0b9b13f9bb224aac86cac9b9f31
* | Set additional attributes in dictionary facilitator.Keisuke Kuroyanagi2014-02-261-1/+11
| | | | | | | | | | Bug: 13197276 Change-Id: I206cf4e599ca9cdf40d669358a1067a2954d11e3
* | Use an executor to serialize opening dictionaries.Jean Chalard2014-02-241-3/+3
|/ | | | | Bug: 13082957 Change-Id: I25570ab4da94337ed60330c0869fe47657096626
* Disconnect app data search client after fetching all data.Keisuke Kuroyanagi2014-02-241-0/+6
| | | | | Bug: 13138201 Change-Id: Ibaa3c2c22a4fe44ea23e92ce8576141bbad09b12
* Add test only methods to test personalized dicts.Keisuke Kuroyanagi2014-02-201-0/+18
| | | | | Bug: 11122480 Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c
* Remove personalization dicts for multilingual users.Keisuke Kuroyanagi2014-02-191-1/+0
| | | | | Bug: 13067743 Change-Id: I1f50cb137b6054dc9442237586b70fc0aa2bf427
* Conditionally store the raw suggestions.Jean Chalard2014-02-061-3/+10
| | | | | Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
* Add dictionary dump buttons in debug settings.Keisuke Kuroyanagi2014-02-041-0/+21
| | | | | | Bug: 11736680 Bug: 12810574 Change-Id: I1f797b5ac6acf94b40d9698d4535e8f5da2bfb17
* Add method to clear user history dictionary for testingTadashi G. Takaoka2014-01-291-0/+8
| | | | | | | This change should be checked in together with I19cd689157. Bug: 12179576 Change-Id: I5cc9f52a37ad6623809a14575f3f4b1cd18725c3
* Check probability before adding to the user history dict.Keisuke Kuroyanagi2014-01-281-1/+24
| | | | | Bug: 12764888 Change-Id: I5da3ef21d9d82b7034e7dc9b7d0fdca0d48a49f4
* Update personalization dict via dictionary facilitator.Keisuke Kuroyanagi2014-01-151-0/+27
| | | | Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5
* Make final Locale field publicTadashi G. Takaoka2014-01-151-1/+1
| | | | | | This change must be checked in together with Id9382498a8. Change-Id: I804d78969bccf8bdc224477bd64c8ac12c1ab0d6
* Pass time stamp to addToUserHistory method as an argumentTadashi G. Takaoka2014-01-141-12/+7
| | | | | Bug: 12179576 Change-Id: I93037ee2aa7c0432400fe2f93fb60d2e60f70f5f
* Fix possible NPE in DictionaryFacilitatorForSuggest.Keisuke Kuroyanagi2014-01-101-0/+1
| | | | Change-Id: I57792b7417b5f1acbb99e6ea60250eb44b193785
* Make reloadMainDict() private.Keisuke Kuroyanagi2014-01-081-9/+38
| | | | | Bug: 8187060 Change-Id: I852a751d748f39512e62c9cd69748dfbe87b2151