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