aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-310/+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
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-2/+2
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* 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 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
* 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
* Include a code point table in the binary dictionary.Akifumi Yoshimoto2014-10-021-1/+3
| | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* Create a code point table based on occurrence counts.Akifumi Yoshimoto2014-09-261-0/+2
| | | | | Bug:17097992 Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf
* Update FormatSpec.javaKeisuke Kuroyanagi2014-08-211-83/+10
| | | | Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-231-2/+3
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* 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
* Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-271-38/+0
| | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* Move DictionaryOptions from FusionDictionary to FormatSpec.Keisuke Kuroyanagi2014-03-061-0/+41
| | | | | | | Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2
* Use BinaryDictionaryUtils to read dictionary header.Keisuke Kuroyanagi2014-03-051-0/+2
| | | | | | Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa
* Correctly read the header of APK-embedded dictsJean Chalard2014-02-241-7/+11
| | | | | Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
* Remove unused code.Keisuke Kuroyanagi2014-02-151-6/+0
| | | | | Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
* Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-041-61/+0
| | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* [HD03] Straighten out attribute key names in Java.Jean Chalard2014-01-311-11/+14
| | | | | Bug: 11281748 Change-Id: I1d813bdacd45bcfd9c4cc73ac1d67c5c89854e86
* Reading dictionary containing timestamps in Java Side.Keisuke Kuroyanagi2014-01-291-8/+4
| | | | | | | Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08
* Increment version number of ver4 format to 401.Keisuke Kuroyanagi2013-12-161-1/+1
| | | | | Bug: 11073222 Change-Id: I3878aef02040b1ef73165645fc70ede586289c51
* Merge "Make the bad header a checked exception and fix dicttool test"Jean Chalard2013-12-161-4/+5
|\
| * Make the bad header a checked exception and fix dicttool testJean Chalard2013-12-161-4/+5
| | | | | | | | Change-Id: If780a2a1cb722aee83d910904c0a6315add9552d
* | Fix failing testsJean Chalard2013-12-161-1/+0
|/ | | | | | | - Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
* Have dicttool use the native library to generate v4 dicts.Jean Chalard2013-12-131-2/+2
| | | | | | Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
* Remove flags from Java side.Jean Chalard2013-12-131-72/+40
| | | | | | | | | | | | This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-11/+29
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix: PtNode array size writirng when array size > 127. DO NOT MERGE.Keisuke Kuroyanagi2013-11-211-0/+2
| | | | | | | This is a manual cherrypick of Ib729ceedbc8ef837e50490439817b36039ae2b4e. Bug: 11772864 Change-Id: I5ecbe729dbdd24e194e48b4d68b17af8549c4726
* Add a time stamp for unigrams.Yuichiro Hanada2013-10-111-1/+2
| | | | | Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
* Add the new format of bigram entries.Yuichiro Hanada2013-10-111-8/+24
| | | | | | | | | In new format, each bigram entry has flags (1 byte), a terminal id (3 byte), a time-stamp (4 byte), a counter (1 byte) and a level (1 byte). Bug: 10920255 Bug: 10920165 Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
* Separate shortcut targets from the trie file.Yuichiro Hanada2013-10-041-0/+13
| | | | | Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
* Add SparseTableContentWriter to Ver4DictEncoder.Yuichiro Hanada2013-10-031-2/+5
| | | | | Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
* Separate bigram entries from the trie file.Yuichiro Hanada2013-09-301-0/+4
| | | | | Bug: 10920165 Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088
* Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-3/+3
| | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-0/+6
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Make Ver4DictEncoder write an address table of terminal nodes.Yuichiro Hanada2013-09-251-0/+3
| | | | | Bug: 10920165 Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94
* Add Ver4DictDecoder.Yuichiro Hanada2013-09-191-5/+13
| | | | | Bug: 9618601 Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0
* Add Ver4DictEncoder.Yuichiro Hanada2013-09-131-1/+13
| | | | | Bug: 9618601 Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
* Add getDictDecoder.Yuichiro Hanada2013-09-121-0/+25
| | | | | Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
* Add comments about how to calculate parent and children addresses.Yuichiro Hanada2013-09-051-13/+16
| | | | Change-Id: Idf37d9a08a7b464a14c8755bedb755005e49ba33
* Rename CharGroup to PtNode.Yuichiro Hanada2013-08-261-74/+79
| | | | | Bug: 10233675 Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107
* Rename Node to PtNodeArrayJean Chalard2013-08-161-3/+3
| | | | | Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
* Move some constants in BinaryDictInputOutput to FormatSpec.Yuichiro Hanada2013-08-141-0/+7
| | | | Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e