aboutsummaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Clean up Makefiles, remove HOST_JDK_IS_64BIT_VERSION"Dan Willemsen2017-07-262-19/+0
|\ | | | | | | | | | | am: 3669fbc4c9 Change-Id: Ibfbc1f11eac0870a5eec7211c868fdcb38f395e0
| * Clean up Makefiles, remove HOST_JDK_IS_64BIT_VERSIONDan Willemsen2017-07-262-19/+0
| | | | | | | | | | | | | | | | | | | | This builds on Darwin fine, so remove the non-standard darwin checks. Remove HOST_JDK_IS_64BIT_VERSION, it's always true now, and this is the only user. Test: mmm packages/inputmethods/LatinIME/tools/dicttool:liblatinime-aosp-dicttool-host Change-Id: I750c6baa29cf1d27a885ff064f0daf9d986db0b9
* | Rename language+country resources to just languageRoozbeh Pournader2017-01-1018-0/+0
|/ | | | | | Bug: 26496609 Test: none Change-Id: I3eb7d265cc3c5ebbbc4ef737deb24f099757e821
* Use junit-host instead of junitPaul Duffin2016-11-302-3/+3
| | | | | | | | | | | | Use framework/junit-host.jar instead of framework/junit.jar Ran the script before and after making the change and it failed in the same way with a build error but it was not due to a problem with JUnit. Bug: 30188076 Test: make checkbuild and ran the test-dicttool.sh script Change-Id: I4cdd518f38184ff3ade5a06d968d6902770ece6b
* Rely on the platform -std default.Elliott Hughes2016-10-071-3/+0
| | | | | | Bug: http://b/32019064 Test: builds Change-Id: I17611b6d9598992bd52cf3dc93509f0f5e0bdcde
* Remove unused import and local variableTadashi G. Takaoka2014-11-283-5/+0
| | | | Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17
* dicttool header to read stream exhaustivelyAdrian Velicu2014-11-111-3/+15
| | | | Change-Id: I50a286c115f5bd6e93763bd2f79031676d6fffd8
* Dicttool to handle unpackaging non-latest version dictsAdrian Velicu2014-11-111-4/+6
| | | | Change-Id: I738735186213b3a40eff997ae2fd83069c6445f1
* Merge "Making 'dicttool header' output format version"Adrian Velicu2014-11-111-0/+1
|\
| * Making 'dicttool header' output format versionAdrian Velicu2014-11-081-0/+1
| | | | | | | | Change-Id: I4198f6b463711feb4ab78020934cca4d23870fbb
* | Move util classes under commonJean Chalard2014-11-072-5/+2
| | | | | | | | | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* | Merge "Remove dicttool dependency to NativeSuggestOptions"Jean Chalard2014-11-071-1/+0
|\ \ | |/ |/|
| * Remove dicttool dependency to NativeSuggestOptionsJean Chalard2014-11-061-1/+0
| | | | | | | | | | Bug: 18108776 Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
* | Fix the build : move offdevice tests in an off device fileJean Chalard2014-11-061-1/+92
| | | | | | | | | | | | Also fix a failing test Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
* | Add a header command to dicttool.Jean Chalard2014-11-063-10/+92
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add a *FAST* dictionary header reader.Jean Chalard2014-11-061-0/+53
|/ | | | | | | | | | | 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
* Genericize getting a raw dictionaryJean Chalard2014-11-063-48/+71
| | | | | | | This will allow for not copying the whole dictionary when only the header is needed. Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
* Large simplification in obtaining a raw dictionaryJean Chalard2014-11-052-89/+61
| | | | | | | | | | | 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
* Merge "Initial commit for native dicttoolkit."Keisuke Kuroyanagi2014-10-311-0/+1
|\
| * Initial commit for native dicttoolkit.Keisuke Kuroyanagi2014-10-311-0/+1
| | | | | | | | | | | | Bug: 10059681 Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c
* | Remove some dicttool dependenciesJean Chalard2014-10-312-56/+0
| | | | | | | | | | Bug: 18108776 Change-Id: Ic81c5df2a685160c249021ff4cfe41553dbdeebe
* | Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-311-2/+0
|\ \
| * | Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-291-2/+0
| | | | | | | | | | | | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* | | Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-312-21/+32
|/ / | | | | | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* | Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-3/+1
| | | | | | | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* | Move StringUtils under common.Jean Chalard2014-10-281-2/+1
|/ | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Fix unit test breakageTadashi G. Takaoka2014-10-241-1/+0
| | | | Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5
* Merge "Some more simplification of DecoderSpec works"Jean Chalard2014-10-242-7/+14
|\
| * Some more simplification of DecoderSpec worksJean Chalard2014-10-232-7/+14
| | | | | | | | Change-Id: I23fa4e4ed96228406e70aa94d84fd7b8d3f69347
* | Merge "Simplify handling of steps in DecoderChainSpec"Jean Chalard2014-10-242-14/+28
|\|
| * Simplify handling of steps in DecoderChainSpecJean Chalard2014-10-232-14/+28
| | | | | | | | | | | | | | This is a preliminary refactoring change to improve performance in dicttool diagnostic tools. Change-Id: I9a59328af62e336809246be5bebbbf2e154366b3
* | Merge "Fix dicttool build."Keisuke Kuroyanagi2014-10-231-1/+1
|\ \
| * | Fix dicttool build.Keisuke Kuroyanagi2014-10-231-1/+1
| | | | | | | | | | | | Change-Id: Idc4533e57b7f4ddccd66b1f1a4730153064b1e27
* | | Remove unused import and methodTadashi G. Takaoka2014-10-231-9/+0
|/ / | | | | | | | | Bug: 18003991 Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65
* / Move annotations classes to latiime-commonKen Wakasa2014-10-231-7/+3
|/ | | | | | Move Constants.java too. Change-Id: I55e8cf06f61c0a37746a7328834a52a5306cf0f2
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-234-38/+4
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Add latinime-common local libKen Wakasa2014-10-221-1/+1
| | | | | | | This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
* Remove XML input/output from dicttool.Jean Chalard2014-10-224-503/+13
| | | | | | This hasn't been used for a while. It's deprecated. Let's kill it. Change-Id: Ib1c491fa14b6406f6f77f2b0869f4db1810eb078
* Fix some compiler warningsTadashi G. Takaoka2014-10-217-20/+15
| | | | | | | | | | | | | | | | | | | | | 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
* Renaming "blacklist" flag to "possibly offensive"Adrian Velicu2014-10-217-21/+34
| | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Fix a possible NPE in DicttoolJean Chalard2014-10-061-3/+4
| | | | | | | I've never seen the NPE happen and only happened to notice this by chance. Let's fix the code. Change-Id: If458646229f9cadcd6c15779348133f382fde783
* Align a compat file for a change in native signatureJean Chalard2014-10-031-5/+4
| | | | Change-Id: I89eb530c1a44e5ea9b5fcb37c792cb8c81d6dc1c
* Use Devanagari Danda letter as full stop on Nepali keyboardTadashi G. Takaoka2014-10-031-0/+5
| | | | | Bug: 17741882 Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
* 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.Akifumi Yoshimoto2014-10-021-1/+1
| | | | | | | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* | Add Uzbek keyboardTadashi G. Takaoka2014-10-012-0/+71
| | | | | | | | | | Bug: 13222403 Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
* | Use Devanagari Danda letter as full stop on Hindi keyboardTadashi G. Takaoka2014-10-011-0/+5
| | | | | | | | | | Bug: 17418371 Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
* | Merge "Add Akkhor Layout for Bengali Bangladesh"Tadashi G. Takaoka2014-10-011-0/+28
|\ \
| * | Add Akkhor Layout for Bengali BangladeshTadashi G. Takaoka2014-09-261-0/+28
| | | | | | | | | | | | | | | Bug: 16143057 Change-Id: I0b4a3d0d1125f9af25a98ee7a1852129ae1c1d2c
* | | Introduce NgramProperty in Java side.Keisuke Kuroyanagi2014-10-013-6/+6
| |/ |/| | | | | | | Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82