| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix a bug in the diff tool•••Fix reporting of removed attributes multiple times instead
of just one in some cases. Also, report the frequency of
the removed bigram in the same cases.
Change-Id: I1455fa7553fcebc3005c222bf5aa9afcf1678c31
|  Jean Chalard | 2012-11-08 | 1 | -1/+6 |
* | Add a missing report, and fix a wrong report•••Deleted words would be reported, but added words wouldn't
Also, shortcuts would be reported as bigrams
Change-Id: I017653f2afa65cf16924017a0be2ee2cbd6ca10d
|  Jean Chalard | 2012-11-01 | 1 | -7/+16 |
* | Add a "no changes" message in the diff command•••Also fix a bug where no locale would be interpreted as a
different locale instead of the same.
Change-Id: I296feef45e39a9e89509cb315e789676755141ab
|  Jean Chalard | 2012-11-01 | 1 | -8/+30 |
* | Fix an NPE in recent code•••Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84
|  Jean Chalard | 2012-11-01 | 1 | -1/+3 |
* | Merge "Use spaces instead of tabs in the combined format." |  Jean Chalard | 2012-10-31 | 1 | -3/+3 |
|\ |
|
| * | Use spaces instead of tabs in the combined format.•••Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6
|  Jean Chalard | 2012-10-31 | 1 | -3/+3 |
* | | Add a plumbing option to dicttool info.•••Also align the `porcelain' option to the diff command
that was used mistakenly.
Bug: 7388665
Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
|  Jean Chalard | 2012-10-31 | 2 | -10/+22 |
|/ |
|
* | Cleanup after dicttool•••Arrange for temporary files to be deleted.
Also, add a security on stack overflows.
Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81
|  Jean Chalard | 2012-10-30 | 3 | -7/+19 |
* | Implement the package command•••Bug: 7388852
Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9
|  Jean Chalard | 2012-10-30 | 1 | -3/+17 |
* | Add the unpackage command•••Bug: 7388852
Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b
|  Jean Chalard | 2012-10-30 | 4 | -0/+87 |
* | Add an empty crypt command to aosp dicttool•••This also makes the AdditionalCommandList useless,
so let's remove it
Bug: 7388852
Change-Id: I308f54ca6f778afe01c1233801a9cc22ebb3d1e9
|  Jean Chalard | 2012-10-30 | 4 | -24/+33 |
* | Accept comments in the combined file format•••Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b
|  Jean Chalard | 2012-10-29 | 1 | -2/+10 |
* | Remove warnings•••Thanks Eclipse
Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d
|  Jean Chalard | 2012-10-29 | 3 | -5/+3 |
* | Add word arguments to the info command (A10)•••With this, it's now possible to get all the information about a word from
any dictionary.
Bug: 7388857
Change-Id: Ifc9d539f52f87044a1974d95bf35d87465e84c47
|  Jean Chalard | 2012-10-29 | 1 | -2/+46 |
* | Implement the word-level diff (A9)•••Bug: 7388857
Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610
|  Jean Chalard | 2012-10-29 | 1 | -11/+79 |
* | Add the dicttool diff command. (A8)•••This is an initial implementation, it does not
do everything just yet.
Bug: 7388857
Change-Id: I11543973a4657e122ca3475225059b06b9a3f2b9
|  Jean Chalard | 2012-10-29 | 2 | -0/+109 |
* | Add a reporting option to the getDictionary method (A7)•••This is refactoring to help future changes
Change-Id: I8c4372383a2fff5805b96cc47df5012e4b231004
|  Jean Chalard | 2012-10-29 | 5 | -67/+69 |
* | Finish up the "info" command in dicttool. (A6)•••Bug: 7388857
Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a
|  Jean Chalard | 2012-10-25 | 2 | -4/+39 |
* | Implement a part of the "info" command (A5)•••Bug: 7388857
Change-Id: Id1bba7a33ab6195d5711bebb1df5c18c9c08925c
|  Jean Chalard | 2012-10-25 | 2 | -3/+73 |
* | Add symmetry and pre-emptively improve performance (A4)•••The test for binary dictionary will soon entail decrypting and
uncompressing files if necessary to test for their headers, and will
become much slower than it is. It's better to be able to detect the
XML format too, and leave the slower test for last.
Bug: 7388852
Change-Id: I6b9a7944de80217e1571cab65dcd1cff347b3046
|  Jean Chalard | 2012-10-25 | 2 | -3/+39 |
* | Add automatic decryption capabilities. (A3)•••Bug: 7388852
Change-Id: Ie952b1ad6cfad2f83793bd968e159d3cfbf20a47
|  Jean Chalard | 2012-10-25 | 2 | -2/+59 |
* | Add auto detection and decoding of dictionary files. (A2)•••Bug: 7388852
Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
|  Jean Chalard | 2012-10-25 | 4 | -12/+191 |
* | Some initial refactoring in dicttool. (A1)•••Bug: 7388852
Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b
|  Jean Chalard | 2012-10-25 | 2 | -10/+43 |
* | Add reader and writer for the combined dict format.•••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
|  Jean Chalard | 2012-10-23 | 3 | -12/+318 |
* | Merge "Use a buffered writer for XML output" |  Jean Chalard | 2012-10-22 | 1 | -1/+3 |
|\ |
|
| * | Use a buffered writer for XML output•••Change-Id: I85aa133985282993542659db2ee61960b02042d7
|  Jean Chalard | 2012-10-23 | 1 | -1/+3 |
* | | Add @UsedForTesting and @ExternallyReferenced annotations•••Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
|  Tadashi G. Takaoka | 2012-10-22 | 3 | -14/+8 |
|/ |
|
* | Sync package name and source path•••Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc
|  Tadashi G. Takaoka | 2012-10-19 | 9 | -0/+0 |
* | Use a freq of 1 instead of 0 for non-word shortcuts.•••Also fix a spelling mistake in a comment
Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
|  Jean Chalard | 2012-10-09 | 1 | -1/+1 |
* | Refactor BinaryDictInputOutput.•••Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c
|  Yuichiro Hanada | 2012-09-14 | 1 | -1/+2 |
* | Move FormatOptions and FileHeader to FormatSpec.•••Change-Id: I232e35598635113bf2c81825669c744aadc79efe
|  Yuichiro Hanada | 2012-09-13 | 1 | -2/+2 |
* | Have makedict support the new file format.•••Change-Id: Idcbba71b397f87a5d59e16bb4061d62261c73282
|  Yuichiro Hanada | 2012-09-10 | 1 | -27/+21 |
* | Fix dicttool_aosp build•••Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
|  Ken Wakasa | 2012-09-10 | 1 | -2/+5 |
* | Add FormatOptions.•••Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
|  Yuichiro Hanada | 2012-09-05 | 1 | -1/+3 |
* | Reinstate the shortcut-only attribute•••Also add the blacklist attribute
Bug: 7005742
Bug: 2704000
Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
|  Jean Chalard | 2012-08-31 | 2 | -8/+10 |
* | Use ByteBuffer when reading FusionDictionary from file.•••Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
|  Yuichiro Hanada | 2012-08-24 | 1 | -3/+19 |
* | (DO NOT MERGE) Remove useless module tags from makefiles•••Change-Id: If77482da66e80b762cf205369f7d53d069cd8072
|  Ken Wakasa | 2012-08-17 | 2 | -2/+0 |
* | Reinstate putting shortcut-only entries in the dictionary•••Not sure at which point this functionality got lost, but
anyway, it's back
Bug: 6906525
Change-Id: Ie87baa0dacdcee90e029917ca866099593d5d048
|  Jean Chalard | 2012-08-10 | 1 | -0/+4 |
* | Support a syntax to add whitelist entries in shortcuts•••Bug: 6906525
Change-Id: Ie33586c07973bf76e38390766175ba424d72d655
|  Jean Chalard | 2012-08-10 | 2 | -13/+36 |
* | Support stdin and stdout for compress/uncompress•••This will improve flexibility in dictionary generation by
allowing pipelined commands.
Change-Id: Ia07bdc82c8bd740b5dfee6b5fd1a067f4b8b7ba5
|  Jean Chalard | 2012-08-09 | 1 | -16/+22 |
* | Rename dicttool to dicttool_aosp and split commands•••Change-Id: I83d948be2db5cd0203e876f019697e1d5e038818
|  Jean Chalard | 2012-08-08 | 7 | -8/+57 |
* | Move makedict to live under dicttool (A5)•••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
|  Jean Chalard | 2012-08-04 | 2 | -1/+19 |
* | Move dicttool tests and make a script to run them (A4)•••Change-Id: If582e81741c5edaf345dcb55517dcad0baa64c9e
|  Jean Chalard | 2012-08-04 | 2 | -0/+75 |
* | Make a makedict command for dicttool (A3)•••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
|  Jean Chalard | 2012-08-04 | 6 | -1/+757 |
* | Simplification (A2)•••A single command at a time and no arity gives opportunity to simplify
the argument parsing code.
Change-Id: Iff7bab78ede7448a662092f221c590a9eedae2a5
|  Jean Chalard | 2012-08-03 | 1 | -17/+8 |
* | Remove arity from dicttool commands (A1)•••This unnecessarily complicates and limits commands.
It's simpler to just have one command by invocation.
Groundwork for
Bug: 6429606
Change-Id: I24cf267a9cbc937a5ba53942b29e28e7095d2fd2
|  Jean Chalard | 2012-08-03 | 3 | -40/+20 |
* | Add a tool to do intendance tasks on dictionaries.•••Bug: 6429606
Change-Id: I0c7258d992a4bfa9707002f8fbc425ccde7c6172
|  Jean Chalard | 2012-05-28 | 7 | -0/+357 |