aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-675/+0
|
* Update the imports to androidx.test.filters.*Fangqiu Su2024-05-091-3/+0
| | | | | | Bug: 316941721 Test: mmma . Change-Id: I131993b35a6e350c9237f9d8422c3a274988bbfb
* Update the imports to androidx.test.filters.*Fangqiu Su2024-04-181-1/+2
| | | | | | Bug: 316941721 Test: mmma . Change-Id: I05a7d05dc8d0acb9baecf46357757ad2453f6dbc
* Fix dicttool buildTadashi G. Takaoka2018-10-291-0/+677
| | | | | | | | | | | | This CL partially reverts - Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c - I05c7d8429e8d9a26139456763c77997340fea8c2 And followup (remove shortcut support) - I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Bug: 28255684 Test: make -j10 dicttool_aosp Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1
* Remove dead code, including tests.Dan Zivkovic2015-03-101-677/+0
| | | | Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-80/+22
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Remove unused importTadashi G. Takaoka2014-11-121-1/+0
| | | | Change-Id: I9e2a79534673b2c6587f57fad663b85d971658b9
* Fix the build : move offdevice tests in an off device fileJean Chalard2014-11-061-61/+0
| | | | | | Also fix a failing test Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
* Add a header command to dicttool.Jean Chalard2014-11-061-7/+70
| | | | | | | | | | | | This will allow to greatly improve the performance of the metadata-generating files, as they won't have to wait for the info command to read the entire dictionary when the header is all we need. Also add tests, and while we're at it, use the seed as intended to enable reproducible tests. Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
* Update unit tests for new static dict version.Adrian Velicu2014-10-311-14/+14
| | | | | Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
* Add latinime-common local libKen Wakasa2014-10-221-0/+1
| | | | | | | This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-14/+14
| | | | | | | | | | | | | | | | | | | | | 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-1/+2
| | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Merge "Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile"Ken Wakasa2014-10-031-1/+2
|\
| * Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFileAkifumi Yoshimoto2014-10-031-1/+2
| | | | | | | | | | Bug:17097992 Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3
* | Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"Akifumi Yoshimoto2014-10-031-1/+1
|\|
| * Fix bug of testCharacterTableIsPresent (dicttool test)Akifumi Yoshimoto2014-10-031-1/+1
| | | | | | | | | | Bug:17097992 Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38
* | Fix a behavior change in dicttoolJean Chalard2014-10-031-5/+7
|/ | | | | | | The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
* Merge changes I3c1f5ac1,I269c9aa8Jean Chalard2014-10-031-0/+33
|\ | | | | | | | | | | * changes: Switch code point table Test for code point table (dicttool test)
| * Test for code point table (dicttool test)Akifumi Yoshimoto2014-10-021-0/+33
| | | | | | | | | | Bug:17097992 Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181
* | Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-021-1/+1
|\|
| * Include a code point table in the binary dictionary.Akifumi Yoshimoto2014-10-021-1/+1
| | | | | | | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* | Introduce NgramProperty in Java side.Keisuke Kuroyanagi2014-10-011-2/+2
|/ | | | | Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
* Support migration/dump of Beginning-of-Sentence entries.Keisuke Kuroyanagi2014-06-241-1/+2
| | | | | Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-30/+24
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-271-3/+3
| | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* Separate WeightedString from FusionDictionary.Keisuke Kuroyanagi2014-03-061-1/+0
| | | | | | Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-3/+4
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* Correctly read the header of APK-embedded dictsJean Chalard2014-02-241-3/+6
| | | | | Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
* Remove unused code.Keisuke Kuroyanagi2014-02-151-1/+1
| | | | | Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
* Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi2014-02-151-0/+63
| | | | | Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-141-1/+1
|\
| * Remove unused argument from readDictionaryBinary.Keisuke Kuroyanagi2014-02-141-1/+1
| | | | | | | | | | Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-141-0/+36
|\|
| * Implement PatriciaTriePolicy::getWordProperty().Keisuke Kuroyanagi2014-02-141-0/+36
| | | | | | | | | | Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb
* | Make InputLogicTest more robustTadashi G. Takaoka2014-02-131-1/+1
|/ | | | Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
* Make PtNode have ProbabilityInfo instead of raw value.Keisuke Kuroyanagi2014-02-101-3/+3
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
* Use native logic to read Ver4 dict.Keisuke Kuroyanagi2014-02-061-17/+0
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379
* Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-041-2/+1
| | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* Fix BinaryDictDecoderEncoderTests.Keisuke Kuroyanagi2014-01-311-0/+13
| | | | | Bug: 12809791 Change-Id: I04313df78692b01e153a34c932a37f079a924105
* Reading dictionary containing timestamps in Java Side.Keisuke Kuroyanagi2014-01-291-15/+24
| | | | | | | Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08
* Remove ver4 dict updater.Keisuke Kuroyanagi2013-12-171-31/+0
| | | | Change-Id: I468994c98d091be621b9fb3fbe6405c67fc6a465
* Quit checking bigram order in BinaryDictDecoderEncoderTests.Keisuke Kuroyanagi2013-12-171-5/+4
| | | | Change-Id: I1b8eb6ab2ea797d2590495b1f57f9ec9560ea817
* Move DictUpdater to the tests directory.Keisuke Kuroyanagi2013-12-171-1/+0
| | | | | Bug: 11245133 Change-Id: I0907a091ac3ae960eaf3b27da78dbb48a24b2ea1
* Fix failing testsJean Chalard2013-12-161-19/+9
| | | | | | | - Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
* Remove flags from Java side.Jean Chalard2013-12-131-56/+20
| | | | | | | | | | | | 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-164/+136
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Add the new format of bigram entries.Yuichiro Hanada2013-10-111-0/+11
| | | | | | | | | 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
* Add Ver4DictUpdater.Yuichiro Hanada2013-10-041-0/+3
| | | | Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
* Refactor BinaryDictIOUtilsTests.Yuichiro Hanada2013-10-041-4/+13
| | | | Change-Id: I2208378b33038771b460abb33f9a690872e998e2