aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add automatic decryption capabilities. (A3)Jean Chalard2012-10-252-2/+59
| | | | | Bug: 7388852 Change-Id: Ie952b1ad6cfad2f83793bd968e159d3cfbf20a47
* Add auto detection and decoding of dictionary files. (A2)Jean Chalard2012-10-254-12/+191
| | | | | Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
* Some initial refactoring in dicttool. (A1)Jean Chalard2012-10-252-10/+43
| | | | | Bug: 7388852 Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b
* Add reader and writer for the combined dict format.Jean Chalard2012-10-233-12/+318
| | | | | | | | | This introduces a new textual format for the dictionary that combines words, bigrams and shortcuts to avoid complexity. It is also extensible to n-grams to fool-prof for the future, and easier to read than XML. Bug: 7388540 Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
* Merge "Use a buffered writer for XML output"Jean Chalard2012-10-221-1/+3
|\
| * Use a buffered writer for XML outputJean Chalard2012-10-231-1/+3
| | | | | | | | Change-Id: I85aa133985282993542659db2ee61960b02042d7
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-223-14/+8
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Sync package name and source pathTadashi G. Takaoka2012-10-199-0/+0
| | | | Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc
* Use a freq of 1 instead of 0 for non-word shortcuts.Jean Chalard2012-10-091-1/+1
| | | | | | | Also fix a spelling mistake in a comment Bug: 7301525 Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
* Refactor BinaryDictInputOutput.Yuichiro Hanada2012-09-141-1/+2
| | | | Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c
* Move FormatOptions and FileHeader to FormatSpec.Yuichiro Hanada2012-09-131-2/+2
| | | | Change-Id: I232e35598635113bf2c81825669c744aadc79efe
* Have makedict support the new file format.Yuichiro Hanada2012-09-101-27/+21
| | | | Change-Id: Idcbba71b397f87a5d59e16bb4061d62261c73282
* Fix dicttool_aosp buildKen Wakasa2012-09-101-2/+5
| | | | Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
* Add FormatOptions.Yuichiro Hanada2012-09-051-1/+3
| | | | Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
* Reinstate the shortcut-only attributeJean Chalard2012-08-312-8/+10
| | | | | | | | Also add the blacklist attribute Bug: 7005742 Bug: 2704000 Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
* Use ByteBuffer when reading FusionDictionary from file.Yuichiro Hanada2012-08-241-3/+19
| | | | Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
* (DO NOT MERGE) Remove useless module tags from makefilesKen Wakasa2012-08-172-2/+0
| | | | Change-Id: If77482da66e80b762cf205369f7d53d069cd8072
* Reinstate putting shortcut-only entries in the dictionaryJean Chalard2012-08-101-0/+4
| | | | | | | | Not sure at which point this functionality got lost, but anyway, it's back Bug: 6906525 Change-Id: Ie87baa0dacdcee90e029917ca866099593d5d048
* Support a syntax to add whitelist entries in shortcutsJean Chalard2012-08-102-13/+36
| | | | | Bug: 6906525 Change-Id: Ie33586c07973bf76e38390766175ba424d72d655
* Support stdin and stdout for compress/uncompressJean Chalard2012-08-091-16/+22
| | | | | | | This will improve flexibility in dictionary generation by allowing pipelined commands. Change-Id: Ia07bdc82c8bd740b5dfee6b5fd1a067f4b8b7ba5
* Rename dicttool to dicttool_aosp and split commandsJean Chalard2012-08-087-8/+57
| | | | Change-Id: I83d948be2db5cd0203e876f019697e1d5e038818
* Move makedict to live under dicttool (A5)Jean Chalard2012-08-042-1/+19
| | | | | | | | This removes the makedict directory and makes a new target to replace it. The old command is still working the same way it used to. Change-Id: Ie73b12a7ef101dd2b282e0cb4206ac263af1093e
* Move dicttool tests and make a script to run them (A4)Jean Chalard2012-08-042-0/+75
| | | | Change-Id: If582e81741c5edaf345dcb55517dcad0baa64c9e
* Make a makedict command for dicttool (A3)Jean Chalard2012-08-046-1/+757
| | | | | | | | | | | 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
* Simplification (A2)Jean Chalard2012-08-031-17/+8
| | | | | | | A single command at a time and no arity gives opportunity to simplify the argument parsing code. Change-Id: Iff7bab78ede7448a662092f221c590a9eedae2a5
* Remove arity from dicttool commands (A1)Jean Chalard2012-08-033-40/+20
| | | | | | | | | | This unnecessarily complicates and limits commands. It's simpler to just have one command by invocation. Groundwork for Bug: 6429606 Change-Id: I24cf267a9cbc937a5ba53942b29e28e7095d2fd2
* Add a tool to do intendance tasks on dictionaries.Jean Chalard2012-05-287-0/+357
Bug: 6429606 Change-Id: I0c7258d992a4bfa9707002f8fbc425ccde7c6172