aboutsummaryrefslogtreecommitdiffstats
path: root/tools/makedict/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make a makedict command for dicttool (A3)Jean Chalard2012-08-043-697/+0
| | | | | | | | | | | This behaves exactly as the old makedict command. Further changes will redirect the calls to makedict to this, so as to consolidate similar code. Groundwork for Bug: 6429606 Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
* Some obvious optimizations to makedictJean Chalard2012-05-141-0/+2
| | | | | Bug: 6394357 Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc
* Refactor a methodJean Chalard2012-05-111-1/+1
| | | | | | | | | Rename it, rename parameters, and add a parameter that will be necessary soon. Also, rescale the bigram frequency as necessary. Bug: 6313806 Change-Id: I192543cfb6ab6bccda4a1a53c8e67fbf50a257b0
* Tidy up the MakedictLog class.Ken Wakasa2012-05-051-0/+42
| | | | | | Follow up to I436b2b7b Change-Id: Id17b134dab2f876b874a505e92a379c8b5567fa4
* Ignore bigrams that are not also listed as unigramsJean Chalard2012-04-261-10/+17
| | | | | | | This is a cherry pick of I14b67e51 on jb-dev Bug: 6340915 Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
* Write options into the XML format.Jean Chalard2012-04-061-0/+5
| | | | Change-Id: I12357c29185111447c1ab9ee50d9d1c23d62cae7
* Add support for German umlaut and French ligatures flagsJean Chalard2012-04-061-1/+11
| | | | | Bug: 6202812 Change-Id: Ib4a7f96f6ef86c840069b15d04393f84d428c176
* Remove constructorsJean Chalard2012-04-061-9/+22
| | | | | | And small cleanup. Change-Id: I1de903f42c1b8d57a488be2162e0b94055a6d1f2
* Remove the shortcutOnly attribute which is now useless.Jean Chalard2012-04-061-12/+1
| | | | Change-Id: Ifccdfdaf7c0066bb7728981503baceff0fedb71f
* Add a simple way to input dictionary header attributesJean Chalard2012-04-031-1/+13
| | | | | | | Just add them as an attribute to the root of the XML node. Bug: 6202812 Change-Id: Idf040bfebf20a72f9e4370930a85d97df593f484
* Move makedict to LatinIME android keyboard.Tom Ouyang2012-03-217-2103/+0
| | | | | Bug: 6188977 Change-Id: I4d2ef504bb983abbda3cb52ee450cb46f58d95cf
* Change package name for makedict.Tom Ouyang2012-03-199-14/+14
| | | | | Bug: 6188977 Change-Id: I1d82479dc6b678c68835f0a291570f86fe879f5d
* Fix typo.Ken Wakasa2012-03-091-1/+1
| | | | Change-Id: Ia18cd090fd81022041854ce190e36eca49c6b04a
* Touch up the header formatJean Chalard2012-03-061-22/+22
| | | | Change-Id: Id2a65e8b74228eba18bbaaf3794cd0e9b7cd470d
* 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-053-22/+51
| | | | 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
* 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-1511-731/+2305
| | | | | | | ...and also rename the new one into "makedict". Bug: 5151604 Change-Id: I44a8ab640d408f630f20f502787a967791796dc6
* 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-112-0/+729
platform/packages/inputmethods/LatinIME The corresponding change is I559207ab Change-Id: I01ef7084cffa72468e87147e0ec7a9b16dd19990