aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add a time stamp for unigrams."Ken Wakasa2013-10-112-4/+21
|\
| * Add a time stamp for unigrams.Yuichiro Hanada2013-10-112-4/+21
| | | | | | | | | | Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
* | Merge "Add resolveBigramPositions."Ken Wakasa2013-10-111-11/+22
|\ \ | |/ |/|
| * Add resolveBigramPositions.Yuichiro Hanada2013-10-091-11/+22
| | | | | | | | | | Bug: 11073222 Change-Id: I680e4304c6ab701e9aa132e1e140d789097a53ae
* | Add the new format of bigram entries.Yuichiro Hanada2013-10-114-27/+94
|/ | | | | | | | | 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
* Fix a possible IOOBJean Chalard2013-10-071-2/+3
| | | | | | | | | We want to use StringUtils here, but it's full of references to stuff not accessible host-side like JsonReader and TextUtils and SettingsValues :/ Bug: 11061476 Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
* Add Ver4DictUpdater.Yuichiro Hanada2013-10-043-2/+61
| | | | Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
* Refactor BinaryDictIOUtilsTests.Yuichiro Hanada2013-10-041-0/+4
| | | | Change-Id: I2208378b33038771b460abb33f9a690872e998e2
* Add AbstractDictDecoder.Yuichiro Hanada2013-10-045-186/+226
| | | | Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
* Separate shortcut targets from the trie file.Yuichiro Hanada2013-10-045-37/+107
| | | | | Bug: 10920165 Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
* Add SparseTableContentWriter to Ver4DictEncoder.Yuichiro Hanada2013-10-033-52/+119
| | | | | Bug: 10920165 Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
* Add DictUpdater.Yuichiro Hanada2013-10-035-100/+176
| | | | Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
* Remove some unused variables.Yuichiro Hanada2013-10-027-22/+10
| | | | Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
* Make SparseTable have multiple content tables.Yuichiro Hanada2013-10-023-57/+87
| | | | | Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
* Fix a test and crash with a better error message when readingJean Chalard2013-10-022-2/+4
| | | | | | | | | 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
* Add skipPtNode to DictDecoders.Yuichiro Hanada2013-10-014-0/+50
| | | | Change-Id: I042ff041b68572182c87dc87db6a6aa2bbbefc6c
* Merge "Separate bigram entries from the trie file."Ken Wakasa2013-09-305-31/+143
|\
| * Separate bigram entries from the trie file.Yuichiro Hanada2013-09-305-31/+143
| | | | | | | | | | Bug: 10920165 Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088
* | Change scopes of some methods in DynamicBinaryDictIOUtils.Yuichiro Hanada2013-09-301-3/+3
|/ | | | Change-Id: I1371d41760b38834d1d5ff40e682ac0a6fc9f2e9
* Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-3/+3
| | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* Merge "Create empty dictionary file in native code."Keisuke Kuroyanagi2013-09-261-0/+6
|\
| * Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-0/+6
| | | | | | | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* | Add SparseTable.Yuichiro Hanada2013-09-262-0/+170
|/ | | | | Bug: 10920165 Change-Id: I749dd0269e788799e30b10beb2671813d40ce15f
* Make Ver4DictEncoder write an address table of terminal nodes.Yuichiro Hanada2013-09-254-12/+49
| | | | | Bug: 10920165 Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94
* Add Ver4DictDecoder.Yuichiro Hanada2013-09-198-193/+482
| | | | | Bug: 9618601 Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0
* Fix getChildrenPosition.Yuichiro Hanada2013-09-181-2/+9
| | | | Change-Id: Ic39592dbf0d4e6d2e4879cdb1a95b65d46a57e92
* Add Ver4DictEncoder.Yuichiro Hanada2013-09-135-7/+305
| | | | | Bug: 9618601 Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
* Add getDictDecoder.Yuichiro Hanada2013-09-124-9/+44
| | | | | Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
* Hide DictBuffer from BinaryDictDecoderUtils.Yuichiro Hanada2013-09-124-53/+98
| | | | | Bug: 9618601 Change-Id: I87515bc1555bdfe09426a056ceda74d8e63eba82
* Add writePtNode to DictEncoder.Yuichiro Hanada2013-09-113-67/+78
| | | | | Bug: 9618601 Change-Id: Ie4529444780edee8d0f0d5f23c5619c1a3344286
* Add a flag to readDictioanryBinary in DictDecoder.Yuichiro Hanada2013-09-112-4/+8
| | | | Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31
* Check the version of format options before writing.Yuichiro Hanada2013-09-101-0/+6
| | | | Change-Id: I3951e4395a2da225e240e856c23339b679e6155e
* Hide physical structure of the dictionary from BinaryDictEncoderUtils.Yuichiro Hanada2013-09-093-150/+230
| | | | | Bug: 9618601 Change-Id: I01b8da42058d7c05bf7f4e6d43718032c2ad12c5
* Rename write(|Signed)VariableAddress and to write(|Signed)ChildrenPosition.Yuichiro Hanada2013-09-061-23/+23
| | | | Change-Id: Ib018bde346744b470a4fb13b0c57e3a633b8bb20
* Add computeChildrenPosition and simplify writePlacedNode.Yuichiro Hanada2013-09-061-20/+19
| | | | Change-Id: Idcf0e056bf61e29844d4d0e91c482cd78c41704c
* [Refactor] Add writeDictionaryHeader.Yuichiro Hanada2013-09-052-13/+24
| | | | Change-Id: I69026c47ce1d23f5c39c99ace76fa6b96cd1ce1b
* Add comments about how to calculate parent and children addresses.Yuichiro Hanada2013-09-051-13/+16
| | | | Change-Id: Idf37d9a08a7b464a14c8755bedb755005e49ba33
* Remove a broken dictionary file when fail to read a dictionary file.Yuichiro Hanada2013-08-262-3/+19
| | | | | Bug: 10434720 Change-Id: Ibdf05a39113538546b8fcf9d59af7dddf7ca27fc
* Simplify computeActualNodeArraySize.Yuichiro Hanada2013-08-261-7/+3
| | | | Change-Id: I128d02866c2cc70c42263496927327b8a2130139
* [Refactor] Add DictDecoder.readUnigramsAndBigramsBinary.Yuichiro Hanada2013-08-263-1/+31
| | | | Change-Id: I259db91d837c67cbcb3b6dc504b21dca23a6a5be
* [Refactor] Add DictDecoder.getTerminalPosition.Yuichiro Hanada2013-08-265-4/+25
| | | | Change-Id: I9d04f64a58f5481cbb64cf1c09b5c485dd4176b4
* Rename CharGroup to PtNode.Yuichiro Hanada2013-08-269-659/+672
| | | | | Bug: 10233675 Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107
* Fix getDictionaryFileHeader.Yuichiro Hanada2013-08-231-1/+2
| | | | Change-Id: I5186f41b0f38eb08f4154f7b3de7ffc2119fc44b
* Add DictDecoder.readDictionaryBinary.Yuichiro Hanada2013-08-234-29/+73
| | | | | Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
* Fix writePlacedNode.Yuichiro Hanada2013-08-222-6/+15
| | | | Change-Id: I1d6b086f1d9f0dbd8d74f964e29ae62c533af978
* Move findWordByBinaryDictReader to BinaryDictIOUtilsTests.Yuichiro Hanada2013-08-222-27/+2
| | | | Change-Id: I443238fd816dea9650dcbbeb3ea757f9674fa52f
* Add DictEncoder.Yuichiro Hanada2013-08-222-0/+97
| | | | Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef
* Make readPtNode be called with the address from the beginning of the file.Yuichiro Hanada2013-08-214-48/+47
| | | | Change-Id: I8939fdfb4f79e55bcd7393633784effb30df3f8f
* Rename BinaryDictEncoder to BinaryDictEncoderUtils.Yuichiro Hanada2013-08-213-18/+18
| | | | Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805
* Add PtNodeReader.Yuichiro Hanada2013-08-215-122/+195
| | | | Change-Id: Ic918822fc1b3a8a7c39ffbcf7defde2c5bf888db