aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Show more messages when reading a compressed combined format file.•••Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3 Yuichiro Hanada2013-10-081-1/+5
* Make dicttool read the compressed combined format.•••Change-Id: Ib39fa110402895a655f4e705caae53397ace9259 Yuichiro Hanada2013-09-302-15/+17
* Fix getDictionary.•••Change-Id: I6bc3ec8dd4397a9aaf9dca2f16ce8a1929a47e9e Yuichiro Hanada2013-09-261-1/+1
* Add a new option for version 4 to dicttool.•••Change-Id: I18fd48c1f6921758d30330fbc77f4a917c33f1c8 Yuichiro Hanada2013-09-191-7/+12
* Add getDictDecoder.•••Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4 Yuichiro Hanada2013-09-122-3/+3
* Add a flag to readDictioanryBinary in DictDecoder.•••Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31 Yuichiro Hanada2013-09-112-2/+2
* Rename CharGroup to PtNode.•••Bug: 10233675 Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107 Yuichiro Hanada2013-08-262-11/+11
* Add DictDecoder.readDictionaryBinary.•••Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4 Yuichiro Hanada2013-08-232-8/+7
* Add DictEncoder.•••Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef Yuichiro Hanada2013-08-221-4/+4
* Rename BinaryDictEncoder to BinaryDictEncoderUtils.•••Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805 Yuichiro Hanada2013-08-211-2/+2
* Rename BinaryDictDecoder to Ver3DictDecoder.•••Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832 Yuichiro Hanada2013-08-202-6/+6
* [Refactor] Rename BinaryDictReader and BinaryDictDecoder.•••BinaryDictReader -> BinaryDictDecoder. BinaryDictDecoder -> BianryDictDecoderUtils. Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37 Yuichiro Hanada2013-08-192-13/+14
* Rename Node to PtNodeArray•••Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99 Jean Chalard2013-08-164-8/+10
* Remove unused imports.•••Change-Id: Ib46da6efeaa8f83a9cda24c947fc2e667a1468e8 Yuichiro Hanada2013-08-162-4/+0
* Fix build.•••Change-Id: I80d177f3c9bff1fb90029edeafa4a62d0b99e09e Yuichiro Hanada2013-08-151-2/+2
* [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDict...•••Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744 Yuichiro Hanada2013-08-153-12/+13
* Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and...•••This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5 Ken Wakasa2013-08-152-9/+8
* [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryD...•••Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de Yuichiro Hanada2013-08-152-8/+9
* Add BinaryDictReader.•••Bug: 9618601 Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143 Yuichiro Hanada2013-08-132-23/+10
* Generalize constuctors & add tests•••If there is any two-args constructor with the right arg types in a test class, use it. Also, add a test suite to dicttool test. Also, have the return value of dicttool reflect success or failure. Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd Jean Chalard2013-07-042-9/+26
* Add args to dicttool test.•••Change-Id: I0667e0a5a6f6db3964cfcca5c8f083b9ceb41a2e Jean Chalard2013-07-011-10/+57
* Add tests to dicttool test.•••Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba Jean Chalard2013-06-201-2/+10
* Add an initial test command to dicttool.•••Also fix some warnings This is a preliminary change to help track b/8526576 Bug: 8526576 Change-Id: If2ed74bb92f9b5fb7bbaf9c4851d9d0b5514b405 Jean Chalard2013-06-194-2/+52
* 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 Chalard2012-11-081-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 Chalard2012-11-011-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 Chalard2012-11-011-8/+30
* Fix an NPE in recent code•••Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84 Jean Chalard2012-11-011-1/+3
* Merge "Use spaces instead of tabs in the combined format."Jean Chalard2012-10-311-3/+3
|\
| * Use spaces instead of tabs in the combined format.•••Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6 Jean Chalard2012-10-311-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 Chalard2012-10-312-10/+22
|/
* Cleanup after dicttool•••Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81 Jean Chalard2012-10-302-7/+16
* Implement the package command•••Bug: 7388852 Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9 Jean Chalard2012-10-301-3/+17
* Add the unpackage command•••Bug: 7388852 Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b Jean Chalard2012-10-304-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 Chalard2012-10-304-24/+33
* Accept comments in the combined file format•••Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b Jean Chalard2012-10-291-2/+10
* Remove warnings•••Thanks Eclipse Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d Jean Chalard2012-10-293-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 Chalard2012-10-291-2/+46
* Implement the word-level diff (A9)•••Bug: 7388857 Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610 Jean Chalard2012-10-291-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 Chalard2012-10-292-0/+109
* Add a reporting option to the getDictionary method (A7)•••This is refactoring to help future changes Change-Id: I8c4372383a2fff5805b96cc47df5012e4b231004 Jean Chalard2012-10-295-67/+69
* Finish up the "info" command in dicttool. (A6)•••Bug: 7388857 Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a Jean Chalard2012-10-252-4/+39
* Implement a part of the "info" command (A5)•••Bug: 7388857 Change-Id: Id1bba7a33ab6195d5711bebb1df5c18c9c08925c Jean Chalard2012-10-252-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 Chalard2012-10-252-3/+39
* Add automatic decryption capabilities. (A3)•••Bug: 7388852 Change-Id: Ie952b1ad6cfad2f83793bd968e159d3cfbf20a47 Jean Chalard2012-10-252-2/+59
* Add auto detection and decoding of dictionary files. (A2)•••Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f Jean Chalard2012-10-252-12/+84
* Some initial refactoring in dicttool. (A1)•••Bug: 7388852 Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b Jean Chalard2012-10-252-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 Chalard2012-10-233-12/+318
* Use a buffered writer for XML output•••Change-Id: I85aa133985282993542659db2ee61960b02042d7 Jean Chalard2012-10-231-1/+3
* Sync package name and source path•••Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc Tadashi G. Takaoka2012-10-199-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 Chalard2012-10-091-1/+1