aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-111-80/+22
* Remove unused import•••Change-Id: I9e2a79534673b2c6587f57fad663b85d971658b9 Tadashi G. Takaoka2014-11-121-1/+0
* Fix the build : move offdevice tests in an off device file•••Also fix a failing test Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37 Jean Chalard2014-11-061-61/+0
* Add a header command to dicttool.•••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 Jean Chalard2014-11-061-7/+70
* Update unit tests for new static dict version.•••Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f Adrian Velicu2014-10-311-14/+14
* Add latinime-common local lib•••This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023 Ken Wakasa2014-10-221-0/+1
* 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-14/+14
* 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-1/+2
* Merge "Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile"Ken Wakasa2014-10-031-1/+2
|\
| * Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile•••Bug:17097992 Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3 Akifumi Yoshimoto2014-10-031-1/+2
* | Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"Akifumi Yoshimoto2014-10-031-1/+1
|\|
| * Fix bug of testCharacterTableIsPresent (dicttool test)•••Bug:17097992 Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38 Akifumi Yoshimoto2014-10-031-1/+1
* | Fix a behavior change in dicttool•••The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5 Jean Chalard2014-10-031-5/+7
|/
* Merge changes I3c1f5ac1,I269c9aa8•••* changes: Switch code point table Test for code point table (dicttool test) Jean Chalard2014-10-031-0/+33
|\
| * Test for code point table (dicttool test)•••Bug:17097992 Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181 Akifumi Yoshimoto2014-10-021-0/+33
* | 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.•••Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df Akifumi Yoshimoto2014-10-021-1/+1
* | Introduce NgramProperty in Java side.•••Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82 Keisuke Kuroyanagi2014-10-011-2/+2
|/
* Support migration/dump of Beginning-of-Sentence entries.•••Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084 Keisuke Kuroyanagi2014-06-241-1/+2
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-30/+24
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-271-3/+3
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-061-1/+0
* Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-051-3/+4
* Correctly read the header of APK-embedded dicts•••Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca Jean Chalard2014-02-241-3/+6
* Remove unused code.•••Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7 Keisuke Kuroyanagi2014-02-151-1/+1
* Implement PatriciaTriePolicy::getNextWordAndNextToken().•••Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c Keisuke Kuroyanagi2014-02-151-0/+63
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-141-1/+1
|\
| * Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi2014-02-141-1/+1
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-141-0/+36
|\|
| * Implement PatriciaTriePolicy::getWordProperty().•••Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb Keisuke Kuroyanagi2014-02-141-0/+36
* | Make InputLogicTest more robust•••Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6 Tadashi G. Takaoka2014-02-131-1/+1
|/
* Make PtNode have ProbabilityInfo instead of raw value.•••Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b Keisuke Kuroyanagi2014-02-101-3/+3
* Use native logic to read Ver4 dict.•••Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379 Keisuke Kuroyanagi2014-02-061-17/+0
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-041-2/+1
* Fix BinaryDictDecoderEncoderTests.•••Bug: 12809791 Change-Id: I04313df78692b01e153a34c932a37f079a924105 Keisuke Kuroyanagi2014-01-311-0/+13
* Reading dictionary containing timestamps in Java Side.•••Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08 Keisuke Kuroyanagi2014-01-291-15/+24
* Remove ver4 dict updater.•••Change-Id: I468994c98d091be621b9fb3fbe6405c67fc6a465 Keisuke Kuroyanagi2013-12-171-31/+0
* Quit checking bigram order in BinaryDictDecoderEncoderTests.•••Change-Id: I1b8eb6ab2ea797d2590495b1f57f9ec9560ea817 Keisuke Kuroyanagi2013-12-171-5/+4
* Move DictUpdater to the tests directory.•••Bug: 11245133 Change-Id: I0907a091ac3ae960eaf3b27da78dbb48a24b2ea1 Keisuke Kuroyanagi2013-12-171-1/+0
* Fix failing tests•••- Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab Jean Chalard2013-12-161-19/+9
* Remove flags from Java side.•••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 Jean Chalard2013-12-131-56/+20
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-164/+136
* Add the new format of bigram entries.•••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 Yuichiro Hanada2013-10-111-0/+11
* Add Ver4DictUpdater.•••Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f Yuichiro Hanada2013-10-041-0/+3
* Refactor BinaryDictIOUtilsTests.•••Change-Id: I2208378b33038771b460abb33f9a690872e998e2 Yuichiro Hanada2013-10-041-4/+13
* Add DictUpdater.•••Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974 Yuichiro Hanada2013-10-031-14/+8
* Remove some unused variables.•••Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef Yuichiro Hanada2013-10-021-16/+15
* Fix a test and crash with a better error message when reading•••When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3 Jean Chalard2013-10-021-1/+3
* Fix runReadUnigramsAndBigramsTests.•••Change-Id: Idd9176c9943dfacac5a06957f1a07187b642b207 Yuichiro Hanada2013-09-241-1/+1
* Add Ver4DictDecoder.•••Bug: 9618601 Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0 Yuichiro Hanada2013-09-191-17/+87