aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-271-115/+0
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-061-1/+0
* Fix: file descriptor leaking.•••File descriptors will be closed in BinaryDictionary.finalize(); but, this leads to unit test fails. Bug: 13066902 Change-Id: I2b0d3e54ee91fa844530df54596f86bbbbac81a5 Keisuke Kuroyanagi2014-02-211-9/+17
* Throw IOException when dict header cannot be read.•••Bug: 13106638 Change-Id: Ib48ef0a191a436552c49b6e817dfa13fe1567ae8 Keisuke Kuroyanagi2014-02-201-0/+4
* Implement PatriciaTriePolicy::getNextWordAndNextToken().•••Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c Keisuke Kuroyanagi2014-02-151-2/+3
* Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi2014-02-141-3/+2
* Make PtNode have ProbabilityInfo instead of raw value.•••Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b Keisuke Kuroyanagi2014-02-101-5/+2
* Use native logic to read Ver4 dict.•••Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379 Keisuke Kuroyanagi2014-02-061-400/+48
* Separate header class from FormatSpec.•••Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693 Keisuke Kuroyanagi2014-02-041-3/+2
* Fix historical info of bigrams reading.•••Bug: 12809791 Change-Id: I879279a0d0e1007a7c6cb87a627bf046340dda98 Keisuke Kuroyanagi2014-01-301-5/+6
* Reading dictionary containing timestamps in Java Side.•••Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08 Keisuke Kuroyanagi2014-01-291-31/+38
* Move DictUpdater to the tests directory.•••Bug: 11245133 Change-Id: I0907a091ac3ae960eaf3b27da78dbb48a24b2ea1 Keisuke Kuroyanagi2013-12-171-0/+1
* 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-3/+0
* 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-116/+227
* 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-1/+5
* Add Ver4DictUpdater.•••Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f Yuichiro Hanada2013-10-041-1/+1
* Add AbstractDictDecoder.•••Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7 Yuichiro Hanada2013-10-041-3/+2
* Separate shortcut targets from the trie file.•••Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8 Yuichiro Hanada2013-10-041-8/+40
* Add SparseTableContentWriter to Ver4DictEncoder.•••Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b Yuichiro Hanada2013-10-031-9/+11
* Remove some unused variables.•••Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef Yuichiro Hanada2013-10-021-1/+0
* Make SparseTable have multiple content tables.•••Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e Yuichiro Hanada2013-10-021-2/+2
* 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/+2
* Add skipPtNode to DictDecoders.•••Change-Id: I042ff041b68572182c87dc87db6a6aa2bbbefc6c Yuichiro Hanada2013-10-011-0/+10
* Separate bigram entries from the trie file.•••Bug: 10920165 Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088 Yuichiro Hanada2013-09-301-2/+32
* Make Ver4DictEncoder write an address table of terminal nodes.•••Bug: 10920165 Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94 Yuichiro Hanada2013-09-251-0/+7
* Add Ver4DictDecoder.•••Bug: 9618601 Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0 Yuichiro Hanada2013-09-191-0/+259