aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/LanguageModelParam.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use trigrams for personalization dict.Keisuke Kuroyanagi2014-10-231-166/+0
| | | | | 5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-1/+0
| | | | | | | | | | | | | | | | | | | | | 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
* Renaming "blacklist" flag to "possibly offensive"Adrian Velicu2014-10-211-2/+2
| | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-291-14/+14
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Refactoring PrevWordsInfo.Keisuke Kuroyanagi2014-09-261-1/+1
| | | | | Bug: 14425059 Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
* Added @UsedForTesting to 'missing' methods to avoid ProGuard removing themAdrian Velicu2014-09-191-0/+3
| | | | | Bug: 16864527 Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
* Move case and OOV detection logic into distracter filter.Keisuke Kuroyanagi2014-09-101-38/+15
| | | | | | Bug: 16547557 Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
* Use CharSequence for spell checker to keep spans preservedYohei Yukawa2014-07-201-3/+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
* Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-251-6/+7
| | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* Apply distracter filter for in-vocabulary words.Keisuke Kuroyanagi2014-05-261-16/+13
| | | | | Bug: 13142176 Change-Id: I4db763783a2f8b9a0df0df951db3223f70748870
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.Keisuke Kuroyanagi2014-05-231-2/+2
| | | | | Bug: 14119293 Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
* Move distracter filter to dictionary facilitator.Keisuke Kuroyanagi2014-05-231-1/+2
| | | | | | 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 instead of String in Java side.Keisuke Kuroyanagi2014-05-191-14/+15
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Use dedicated DictionaryFacilitator for DistracterFilterKeisuke Kuroyanagi2014-05-171-1/+1
| | | | | Bug: 15002249 Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
* Revert "Use dedicated DictionaryFacilitator for DistracterFilter"Keisuke Kuroyanagi2014-05-161-1/+1
| | | | | | This reverts commit 7122fe76e3ca48a12f1e069ee0c742788c1884b6. Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb
* Use dedicated DictionaryFacilitator for DistracterFilterKeisuke Kuroyanagi2014-05-161-1/+1
| | | | | Bug: 15002249 Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1
* Implement the distracter filterXiaojun Bi2014-05-131-0/+3
| | | | | | Bug: 13142176 Change-Id: I85a048cdcbbad3d6020a25f900250d8d7a0fe3da
* Use DistracterFilter when getting Language Model Param of a wordXiaojun Bi2014-05-071-9/+17
| | | | | | | | | | A preparation for implementing Distracter Filter. This CL should be checked in together with Icfefa0463180 Bug: 13142176 Change-Id: If9e5ca840c4a81cb0339ab70f146b42fbfa7af5d
* Fix: NPE after onDestroy().Keisuke Kuroyanagi2014-03-281-0/+6
| | | | | Bug: 13671513 Change-Id: I06aa14870ff5422ad514356ee406600b247858c5
* Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-251-1/+1
| | | | | | | | | | | 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
* Use NOT_A_PROBABILITY for adding OOV words.Keisuke Kuroyanagi2014-02-261-3/+3
| | | | | Bug: 13197276 Change-Id: I23f453c2c1deea70eab552f8d433fe264adf68b3
* Fix native method signatureTadashi G. Takaoka2014-01-151-1/+3
| | | | Change-Id: Ia2d566f162f746c6b2b2b874f7278d86abd9e839
* Refactor LanguageModelParam class a bitTadashi G. Takaoka2014-01-151-0/+113
| | | | | | This change must be checked in together with I9ecfd1adc1. Change-Id: I26f8c17d6347b75dba6abb3d73239f4052327dae
* Consolidate LanguageModelParam constructorsTadashi G. Takaoka2014-01-151-11/+2
| | | | Change-Id: I142651d1f268456a5901da524cbe55d315f76d28
* Move LanguageModelParams class to utility packageTadashi G. Takaoka2014-01-151-0/+65
This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29