aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-117-819/+0
|
* Fix dicttool buildTadashi G. Takaoka2018-10-291-0/+3
| | | | | | | | | | | | This CL partially reverts - Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c - I05c7d8429e8d9a26139456763c77997340fea8c2 And followup (remove shortcut support) - I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Bug: 28255684 Test: make -j10 dicttool_aosp Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1
* Retire Delight2 migration code to speed up tests.Dan Zivkovic2015-03-201-3/+0
| | | | | | | | | 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
* Don't test format version 403 twice.Dan Zivkovic2015-03-161-2/+1
| | | | | | | BinaryDictionaryTests runs all tests 3 times for 3 format verisons. Cut that number down by 33% to speed things up. Change-Id: I8a2f78017fa30f46b5873dcf6a5f478f57af2ebd
* Update the MAX supported file version for downloaded static Dictionaries.Mohammadinamul Sheik2015-02-271-3/+3
| | | | Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993
* Make checksum and header checks decoder dependent.Mohammadinamul Sheik2015-02-201-1/+3
| | | | Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-23/+5
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-2/+2
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-211-20/+24
| | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* UpdateHandler to support v202 dicts.Adrian Velicu2014-11-121-2/+2
| | | | Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
* Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-311-3/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* Update unit tests for new static dict version.Adrian Velicu2014-10-311-2/+4
| | | | | Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
* Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-311-0/+1
| | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Add missing headerKen Wakasa2014-10-241-0/+16
| | | | Change-Id: I1befc2f1288674b4d871b27bdc5251b2b95e8bb7
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Support dumping ngram entries.Keisuke Kuroyanagi2014-10-221-6/+13
| | | | | Bug: 14425059 Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
* Fix some compiler warningsTadashi G. Takaoka2014-10-212-13/+9
| | | | | | | | | | | | | | | | | | | | | 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-212-9/+9
| | | | | | | | | 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-2/+3
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* Extend jni method to dump ngram entries.Keisuke Kuroyanagi2014-10-091-6/+11
| | | | | Bug: 14425059 Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
* Quit having obsolete options for ime-simulator.Keisuke Kuroyanagi2014-10-061-4/+0
| | | | | Bug: 16547409 Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
* Fix a behavior change in dicttoolJean Chalard2014-10-031-8/+23
| | | | | | | The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
* Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-021-1/+3
|\
| * Include a code point table in the binary dictionary.Akifumi Yoshimoto2014-10-021-1/+3
| | | | | | | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* | Merge "Introduce NgramProperty in Java side."Keisuke Kuroyanagi2014-10-012-16/+67
|\ \ | |/ |/|
| * Introduce NgramProperty in Java side.Keisuke Kuroyanagi2014-10-012-16/+67
| | | | | | | | | | Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
* | Create a code point table based on occurrence counts.Akifumi Yoshimoto2014-09-262-0/+3
|/ | | | | Bug:17097992 Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf
* Update FormatSpec.javaKeisuke Kuroyanagi2014-08-211-83/+10
| | | | Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
* Support migration/dump of Beginning-of-Sentence entries.Keisuke Kuroyanagi2014-06-241-3/+3
| | | | | Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-3/+2
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-231-2/+3
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Extend jni methods and enable Beginning-of-Sentence.Keisuke Kuroyanagi2014-05-231-0/+4
| | | | | Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
* Add VERSION4_DEV(402) in Java side and use it for tests.Keisuke Kuroyanagi2014-05-141-1/+2
| | | | | Bug: 13406708 Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
* Add VERSION4_TEST for testing.Keisuke Kuroyanagi2014-05-091-0/+5
| | | | | Bug: 13406708 Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e
* Fix unit tests by adding @UsedForTesting.Keisuke Kuroyanagi2014-03-282-0/+3
| | | | Change-Id: I8497d6cf446297bc8c15e9d9818078b1026a8c51
* Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-2715-3573/+0
| | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* Move DictionaryOptions from FusionDictionary to FormatSpec.Keisuke Kuroyanagi2014-03-063-42/+43
| | | | | | | Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2
* Separate WeightedString from FusionDictionary.Keisuke Kuroyanagi2014-03-0611-56/+62
| | | | | | Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
* Use BinaryDictionaryUtils to read dictionary header.Keisuke Kuroyanagi2014-03-053-48/+3
| | | | | | Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-1/+2
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* Add header attributes for evaluation.Keisuke Kuroyanagi2014-02-281-0/+4
| | | | | Bug: 13197276 Change-Id: Ib5247da691ff24a73e13485288237ccc51bb54f0
* Use dynamic operations to construct all ver4 dicts.Keisuke Kuroyanagi2014-02-271-0/+2
| | | | | | Bug: 8187060 Bug: 13127350 Change-Id: I081ee904c41898128efa8ba7a1bf3fa0a46c6231
* Read and write forgetting curve header attributes.Keisuke Kuroyanagi2014-02-261-0/+4
| | | | | Bug: 13197276 Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
* Correctly read the header of APK-embedded dictsJean Chalard2014-02-244-16/+27
| | | | | Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
* Fix: file descriptor leaking.Keisuke Kuroyanagi2014-02-212-22/+32
| | | | | | | | File descriptors will be closed in BinaryDictionary.finalize(); but, this leads to unit test fails. Bug: 13066902 Change-Id: I2b0d3e54ee91fa844530df54596f86bbbbac81a5
* Throw IOException when dict header cannot be read.Keisuke Kuroyanagi2014-02-201-0/+4
| | | | | Bug: 13106638 Change-Id: Ib48ef0a191a436552c49b6e817dfa13fe1567ae8
* Throw exception when the header cannot be read.Keisuke Kuroyanagi2014-02-191-0/+3
| | | | | Bug: 13066902 Change-Id: I8fd0f361a4ca55aaab8a2bd2e11f48f92b87fc93
* Remove unused code.Keisuke Kuroyanagi2014-02-1511-592/+98
| | | | | Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
* Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi2014-02-152-18/+54
| | | | | Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c