aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-757/+0
|
* Log interrupted tasks in AOSP.Dan Zivkovic2015-04-021-2/+4
| | | | | | Bug 19987461. Change-Id: Ia2714f555146f8f31a6d8c61f555d2b6fecdab7d
* DictStats should mask account info in filenameJatin Matani2015-03-301-1/+1
| | | | Change-Id: I1985fcc352c1c0658c4177f906f1d71ee0d67c6f
* Change DictionaryStats to report content version.Dan Zivkovic2015-03-241-26/+1
| | | | | | Bug 19908719. Change-Id: I5a00b5277e9cd7d964b53ff5823bada21be110fa
* Retire Delight2 migration code to speed up tests.Dan Zivkovic2015-03-201-2/+1
| | | | | | | | | We're waiting 10 minutes for tests to run, and half of that time is spent in depreacted code related to migration of Delight2 dictionary files. LatinIME will never migrate another Delight2 dictionary file again, so we can delete this code. Change-Id: I05c7d8429e8d9a26139456763c77997340fea8c2
* Separate executor for the Spelling decoder.Dan Zivkovic2015-03-121-1/+1
| | | | | | Bug 19710676. Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
* Use a single background executor.Dan Zivkovic2015-03-091-1/+1
| | | | | | Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
* Stop waking up to decay dynamic dictionaries.Dan Zivkovic2015-02-251-1/+1
| | | | | | Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
* Sanitize the usage of executors.Dan Zivkovic2015-02-191-7/+6
| | | | | | | | There should be 1 executor each for static and dynamic language models. This prevents too many dynamic LM updates from running in parallel, competing for resources. Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-38/+15
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Remove distracter filter from client.Dan Zivkovic2015-02-091-50/+12
| | | | | | Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-2/+3
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* Rename variable name to remove ambiguityJatin Matani2014-12-081-3/+3
| | | | Change-Id: If95c34c9eab09cbc941bef5ee3d34b9048bf3bf9
* Hook for fetching sync content from UserHistoryDictJatin Matani2014-11-261-0/+37
| | | | | | | | | | | | | Add API to ExpandableBinaryDictionary to dump content from a given dictionary. We use this for dumping data for sync process. Refactored UserHistoryDictionaryTests to scrap out the util methods for testing. These utility methods would be used for testing sync + user dictionary code in LatinIMEGoogleTests Bug:18106539 Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
* Move util classes under commonJean Chalard2014-11-071-1/+1
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | Without personalization: Total words: 1134774, Success Num: 899230, Success Percentage: 79.243% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165% Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563% Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953% Before: Total words: 1134646, Success Num: 925194, Success Percentage: 81.540% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116% Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493% Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019% After Total words: 1134659, Success Num: 944746, Success Percentage: 83.263% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222% Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
* Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-291-6/+6
| | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-0/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Use trigrams for personalization dict.Keisuke Kuroyanagi2014-10-231-9/+9
| | | | | 5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-231-0/+4
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-89/+127
| | | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Change entry count limit.Keisuke Kuroyanagi2014-10-201-7/+0
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()Keisuke Kuroyanagi2014-10-061-13/+47
| | | | | Bug: 14425059 Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-291-13/+13
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Get stats from dictionary.Keisuke Kuroyanagi2014-09-221-2/+24
| | | | | Bug: 16553957 Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655
* Create DictionaryStats in executor.Keisuke Kuroyanagi2014-09-221-7/+10
| | | | | Bug: 16553957 Change-Id: Ie4e9a6ee67f90ba0086af2075068e078efc7f189
* [ML8] Add a language weightJean Chalard2014-09-191-2/+3
| | | | | | | ...and rename an improperly named normalization value Bug: 11230254 Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
* [ML7] Have multiple DictionaryGroup instances in facilitatorJean Chalard2014-09-161-8/+10
| | | | | | | This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
* [ML3] Put the locale in SuggestedWordInfoJean Chalard2014-09-011-5/+1
| | | | | | ...and remove it from SuggestionResults. Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
* Add ExpandableBinaryDictionary#getDictionaryStats().Keisuke Kuroyanagi2014-08-221-0/+11
| | | | | Bug: 16553957 Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c
* Add additional wait for writing file in testAddManyWords().Keisuke Kuroyanagi2014-08-121-1/+1
| | | | Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
* Use DistracterFilterCheckingIsInDictionary for User HistoryKeisuke Kuroyanagi2014-08-071-16/+42
| | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
* Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-081-4/+4
| | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* Enable beginning-of-sentence prediction.Keisuke Kuroyanagi2014-06-241-10/+0
| | | | | Bug: 14119293 Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7
* Fix unit tests by adding @UsedForTesting.Keisuke Kuroyanagi2014-06-201-0/+1
| | | | Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6
* Remove word from personalized dicts when it's canceled.Keisuke Kuroyanagi2014-06-201-0/+21
| | | | | | Bug: 15555552 Bug: 15552347 Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
* Enable Beginning-of-Sentence prediction for contextual dict.Keisuke Kuroyanagi2014-06-121-0/+10
| | | | | | Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
* Merge "Purge dict reading code for 401 and create for 402."Keisuke Kuroyanagi2014-06-101-2/+1
|\
| * Purge dict reading code for 401 and create for 402.Keisuke Kuroyanagi2014-06-101-2/+1
| | | | | | | | Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
* | Debug log when failed to add/remove n-gram entry.Keisuke Kuroyanagi2014-06-101-5/+12
| | | | | | | | Change-Id: Ibf0a4e01e1abc81b09aec104ba39d2ec18f4db8b
* | Add Dictionary.isInDictionary().Keisuke Kuroyanagi2014-06-091-19/+5
|/ | | | | | Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
* Add getMaxFrequencyOfExactMatches() to Dictionary.Keisuke Kuroyanagi2014-06-051-0/+24
| | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5
* Return whether the dynamic dict operation was success.Keisuke Kuroyanagi2014-05-271-3/+9
| | | | | Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
* Apply distracter filter for UserHistoryDictionary.Keisuke Kuroyanagi2014-05-271-2/+9
| | | | | Bug: 13142176 Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-231-1/+2
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Extend jni methods and enable Beginning-of-Sentence.Keisuke Kuroyanagi2014-05-231-1/+1
| | | | | Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-15/+15
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-15/+15
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9