aboutsummaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Update the magic number in makedictJean Chalard2012-03-061-16/+36
| | | | | | | | Update makedict to write the magic number to the format expected by LatinIME starting with I3aafdd7e Bug: 5686638 Change-Id: I78c6befc3347f689a8520b450d589eabefc413d6
* Make makedict able to write binary format versions 1 and 2Jean Chalard2012-03-012-19/+87
| | | | | | | | | | Version 2 provides for a variable-length header region. The first step is to allow the implementation to simply step over the header, which will allow us to put any ignored metadata we want. This change implements the makedict part of this. Bug: 5686638 Change-Id: I97f1a8a4f84d15e1bedbad74e54303852aef6e0b
* Fix string iterations in a couple places.Jean Chalard2012-02-031-1/+1
| | | | | | | | Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
* Merge "Actually add shortcut-only entries."Jean Chalard2012-01-163-23/+64
|\
| * Actually add shortcut-only entries.Jean Chalard2012-01-163-23/+64
| | | | | | | | Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
* | Add shortcut only to xml output.Jean Chalard2012-01-163-3/+9
|/ | | | Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
* Read the group count correctly from the binary formatJean Chalard2012-01-161-12/+34
| | | | | | ...in makedict, for reverse makedict. Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
* Write multi-byte chargroup count to the binary dictJean Chalard2012-01-161-14/+36
| | | | Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
* Add a helper methodJean Chalard2012-01-161-0/+10
| | | | Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3
* Add internal structure support for isShortcutOnly (B8)Jean Chalard2012-01-112-14/+39
| | | | Change-Id: Iaac80937540a45849c347f80400762032b27c82c
* Add shortcuts to XML output of makedict (B7)Jean Chalard2012-01-111-0/+10
| | | | Change-Id: I579e43cd147c4323c390cf1c9bf5e94ae79f9d86
* Wire the Xml-read shortcuts into the dict creation code (B6)Jean Chalard2012-01-102-12/+31
| | | | Change-Id: I352064835abb62c294b48e080d9709ff013c7bb0
* Add methods to read and write shortcut to binary files (B5)Jean Chalard2012-01-062-18/+98
| | | | Change-Id: I8e6a4242a73b2ec95ce9e8b4739e16dfeb9f1204
* Make the dictionary iterator shortcut-aware (B4)Jean Chalard2012-01-053-5/+8
| | | | Change-Id: I529dff4a50276d1a4f4896c66d1aa35296b21000
* Add shortcut support to the in-memory format of makedict (B3)Jean Chalard2012-01-054-27/+56
| | | | Change-Id: Icb8427c82694e24c8d08a5376157c7d1444af979
* Parse the shortcuts list file. (B2)Jean Chalard2012-01-051-0/+20
| | | | | | | This does not use the shortcuts yet, it only reads up the file in memory. Change-Id: Ib9b8594c2dd6a38b1209b01c80e8894696312998
* Merge "Error out when given an unknown argument"Jean Chalard2011-12-271-2/+5
|\
| * Error out when given an unknown argumentJean Chalard2011-12-281-2/+5
| | | | | | | | | | Bug: 5802658 Change-Id: I3a3871f17a5001dc61e835111944d35540aa5bcd
* | Make bigram handler a son of a more generic class (B1)Jean Chalard2011-12-281-24/+47
|/ | | | Change-Id: I71aa109d3e67ff139e4f385344882d906f687c77
* Fix a bug where attributes would have the wrong freq (B0)Jean Chalard2011-12-271-1/+7
| | | | | | | The reading code is accepting 0..15 and this outputs 0..31. Change-Id: Ia638950dc2ce0b8743cbb6a71fbad866e9208786
* Reorganize LatinIME native build directory structure. Now it got NDK friendly.Ken Wakasa2011-12-131-3/+1
| | | | Change-Id: I0f62ce8a6a4d2b6134db698f8b8d0576616e524d
* Fix a bug where ampersands in XML would not workJean Chalard2011-09-281-3/+11
| | | | Change-Id: Icc1bce28b78c4da2d529c308f251e298ea94539f
* Fix a bug ending in a NPE in some rare cases.Jean Chalard2011-09-271-2/+2
| | | | Change-Id: If8109c6aa29d100eb745f17f0af756bcb6e3cabb
* Remove the old dictionary makerJean Chalard2011-08-1520-850/+11
| | | | | | | ...and also rename the new one into "makedict". Bug: 5151604 Change-Id: I44a8ab640d408f630f20f502787a967791796dc6
* Add the new dictionary maker to the build.Jean Chalard2011-08-1114-0/+2472
| | | | | Bug: 4392433 Change-Id: Ic17806cb708b1181a52703537119f7f11fa5f1d6
* Fix issues with single-char word. Some refactorings as well.Ken Wakasa2011-04-181-116/+118
| | | | Change-Id: If20a15324d7704361dd61e0e431b665552567ea3
* Allow a single letter dic entryKen Wakasa2010-12-141-1/+1
| | | | | | | Redo of Id46b4490 which has been abandoned bug: 3193883 Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e
* Move tools/makedict from platform/development to ↵Ken Wakasa2010-12-117-0/+854
platform/packages/inputmethods/LatinIME The corresponding change is I559207ab Change-Id: I01ef7084cffa72468e87147e0ec7a9b16dd19990