aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/src/com/android/inputmethod (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-1114-1840/+0
* Update language to comply with Android’s inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: tapas LatinIME && m Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205 Seigo Nonaka2020-07-311-3/+3
* Fix dicttool build•••This CL partially reverts - Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c - I05c7d8429e8d9a26139456763c77997340fea8c2 And followup (remove shortcut support) - I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Bug: 28255684 Test: make -j10 dicttool_aosp Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1 Tadashi G. Takaoka2018-10-293-46/+2
* Remove unused import and local variable•••Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17 Tadashi G. Takaoka2014-11-282-4/+0
* dicttool header to read stream exhaustively•••Change-Id: I50a286c115f5bd6e93763bd2f79031676d6fffd8 Adrian Velicu2014-11-111-3/+15
* Dicttool to handle unpackaging non-latest version dicts•••Change-Id: I738735186213b3a40eff997ae2fd83069c6445f1 Adrian Velicu2014-11-111-4/+6
* Merge "Making 'dicttool header' output format version"Adrian Velicu2014-11-111-0/+1
|\
| * Making 'dicttool header' output format version•••Change-Id: I4198f6b463711feb4ab78020934cca4d23870fbb Adrian Velicu2014-11-081-0/+1
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
|/
* Add a header command to dicttool.•••This will allow to greatly improve the performance of the metadata-generating files, as they won't have to wait for the info command to read the entire dictionary when the header is all we need. Also add tests, and while we're at it, use the seed as intended to enable reproducible tests. Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2 Jean Chalard2014-11-063-10/+92
* Add a *FAST* dictionary header reader.•••It's still unused as of this change but the next change will use it As a reference point, generating the metadata for Bayo takes 3'02" on my machine with the info command; it's down to 16" if made to use this instead. The gains increases with the number of dictionaries obviously. Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79 Jean Chalard2014-11-061-0/+53
* Genericize getting a raw dictionary•••This will allow for not copying the whole dictionary when only the header is needed. Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f Jean Chalard2014-11-062-45/+68
* Large simplification in obtaining a raw dictionary•••That is where the last refactorings were leading. This code is simpler, but it's far more flexible. Importantly, it only makes a single copy instead of making a full disk copy for every intermediate step. Next we're going to make the "copy" part modular for processes that don't need to copy the whole file. Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a Jean Chalard2014-11-051-81/+59
* Merge "Initial commit for native dicttoolkit."Keisuke Kuroyanagi2014-10-311-0/+1
|\
| * Initial commit for native dicttoolkit.•••Bug: 10059681 Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c Keisuke Kuroyanagi2014-10-311-0/+1
* | Using "blacklist" flag as "possibly offensive"•••Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e Adrian Velicu2014-10-312-21/+32
|/
* Fix unit test breakage•••Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5 Tadashi G. Takaoka2014-10-241-1/+0
* Merge "Some more simplification of DecoderSpec works"Jean Chalard2014-10-241-6/+13
|\
| * Some more simplification of DecoderSpec works•••Change-Id: I23fa4e4ed96228406e70aa94d84fd7b8d3f69347 Jean Chalard2014-10-231-6/+13
* | Merge "Simplify handling of steps in DecoderChainSpec"Jean Chalard2014-10-241-12/+25
|\|
| * Simplify handling of steps in DecoderChainSpec•••This is a preliminary refactoring change to improve performance in dicttool diagnostic tools. Change-Id: I9a59328af62e336809246be5bebbbf2e154366b3 Jean Chalard2014-10-231-12/+25
* | Remove unused import and method•••Bug: 18003991 Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65 Tadashi G. Takaoka2014-10-231-9/+0
|/
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-232-3/+3
* Remove XML input/output from dicttool.•••This hasn't been used for a while. It's deprecated. Let's kill it. Change-Id: Ib1c491fa14b6406f6f77f2b0869f4db1810eb078 Jean Chalard2014-10-224-503/+13
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-212-4/+1
* Renaming "blacklist" flag to "possibly offensive"•••No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78 Adrian Velicu2014-10-214-10/+12
* Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-021-1/+1
|\
| * Include a code point table in the binary dictionary.•••Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df Akifumi Yoshimoto2014-10-021-1/+1
* | Introduce NgramProperty in Java side.•••Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82 Keisuke Kuroyanagi2014-10-013-6/+6
|/
* Read dicttool option for switching code point table•••Bug:17097992 Change-Id: I0b3f12c4450f784b9a33470d1dc4c306062de91e Akifumi Yoshimoto2014-09-261-17/+36
* Refactor dicttool with try-with-resource•••This CL must be checked in together with Idd7c744d0f. Change-Id: Ia0ff09a054c1852b39cdce22a4377108afb254e2 Tadashi G. Takaoka2014-06-227-168/+182
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-247-20/+17
* Have dicttool test tidy up after itself.•••Bug: 13776363 Change-Id: Icb1d3fc0efe71e0339b434928e8aed507f2fb590 Jean Chalard2014-05-231-3/+29
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-273-47/+6
* Fix: dicttool build.•••Change-Id: I5c3bcbe9f3054bdd1a760398fe11344e0e05ac6a Keisuke Kuroyanagi2014-03-071-0/+1
* Move DictionaryOptions from FusionDictionary to FormatSpec.•••Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2 Keisuke Kuroyanagi2014-03-062-2/+1
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-064-4/+4
* Fix: dicttool build.•••Change-Id: I592b14eba895786d0981586a01ef545e003396c8 Keisuke Kuroyanagi2014-02-281-0/+22
* Correctly read the header of APK-embedded dicts•••Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca Jean Chalard2014-02-242-2/+2
* Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi2014-02-142-2/+2
* Remove unused code.•••Bug: 12810574 Change-Id: If0ef02a984469a3b6e0c00b1c3c8d98d0d2b5466 Keisuke Kuroyanagi2014-02-101-1/+0
* Make PtNode have ProbabilityInfo instead of raw value.•••Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b Keisuke Kuroyanagi2014-02-104-17/+35
* Use CombinedFormatUtils to convert dict elements to strings.•••Bug: 11281877 Bug: 12810574 Change-Id: Ib631f75eab73abc9877a7698171c45e8f2fc7600 Keisuke Kuroyanagi2014-02-061-48/+34
* Consolidate WordProperty and Word.•••Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5 Keisuke Kuroyanagi2014-02-064-65/+71
* Make WeightedString have ProbabilityInfo.•••Bug: 11281877 Bug: 12810574 Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a Keisuke Kuroyanagi2014-02-054-16/+20
* Remove ver4 dict updater.•••Change-Id: I468994c98d091be621b9fb3fbe6405c67fc6a465 Keisuke Kuroyanagi2013-12-171-3/+2
* Fix failing tests•••- Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab Jean Chalard2013-12-161-3/+0
* Have dicttool use the native library to generate v4 dicts.•••Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9 Jean Chalard2013-12-131-2/+2
* Remove flags from Java side.•••This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1 Jean Chalard2013-12-133-37/+3
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-3/+3