aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-052-4/+4
* Remove unused import•••Change-Id: I9e2a79534673b2c6587f57fad663b85d971658b9 Tadashi G. Takaoka2014-11-121-1/+0
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-072-2/+2
* Fix the build : move offdevice tests in an off device file•••Also fix a failing test Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37 Jean Chalard2014-11-061-61/+0
* 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-061-7/+70
* 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/+42
* Update unit tests for new static dict version.•••Bug: 11031090 Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f Adrian Velicu2014-10-313-27/+32
* Using "blacklist" flag as "possibly offensive"•••Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e Adrian Velicu2014-10-312-2/+4
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-232-2/+2
* 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-234-10/+5
* Add latinime-common local lib•••This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023 Ken Wakasa2014-10-222-101/+1
* 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-217-61/+54
* 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-217-60/+42
* Merge "Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile"Ken Wakasa2014-10-032-2/+6
|\
| * Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile•••Bug:17097992 Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3 Akifumi Yoshimoto2014-10-032-2/+6
* | Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"Akifumi Yoshimoto2014-10-031-1/+1
|\|
| * Fix bug of testCharacterTableIsPresent (dicttool test)•••Bug:17097992 Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38 Akifumi Yoshimoto2014-10-031-1/+1
* | Fix a behavior change in dicttool•••The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5 Jean Chalard2014-10-031-5/+7
|/
* Merge changes I3c1f5ac1,I269c9aa8•••* changes: Switch code point table Test for code point table (dicttool test) Jean Chalard2014-10-032-3/+37
|\
| * Switch code point table•••Bug:17097992 Change-Id: I3c1f5ac183ebb5d3757b8ff258655869ab61f2e7 Akifumi Yoshimoto2014-10-021-3/+4
| * Test for code point table (dicttool test)•••Bug:17097992 Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181 Akifumi Yoshimoto2014-10-021-0/+33
* | Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-027-72/+158
|\|
| * Include a code point table in the binary dictionary.•••Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df Akifumi Yoshimoto2014-10-027-72/+158
* | Merge "Introduce NgramProperty in Java side."Keisuke Kuroyanagi2014-10-014-8/+10
|\ \ | |/ |/|
| * Introduce NgramProperty in Java side.•••Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82 Keisuke Kuroyanagi2014-10-014-8/+10
* | Fix bug of testCodePointTable.•••Bug:17097992 Change-Id: Ia26bfceb008f52e2c3b760159c5129b7eca5d6d6 Akifumi Yoshimoto2014-09-302-6/+9
* | Merge "Create a code point table based on occurrence counts."Akifumi Yoshimoto2014-09-293-2/+161
|\ \ | |/ |/|
| * Create a code point table based on occurrence counts.•••Bug:17097992 Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf Akifumi Yoshimoto2014-09-263-2/+161
* | Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-5/+5
|/
* Read dicttool option for switching code point table•••Bug:17097992 Change-Id: I0b3f12c4450f784b9a33470d1dc4c306062de91e Akifumi Yoshimoto2014-09-262-2/+7
* Remove unused dictionary writing methods.•••Change-Id: Ica6ac057c0d0f037b7dd5539ab5b591c83bfa4d7 Keisuke Kuroyanagi2014-08-214-37/+0
* Make dict log cleanup.•••Delete unneeded output when creating a dictionary Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179 Akifumi Yoshimoto2014-08-061-10/+3
* Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-241-1/+2
|\
| * Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-251-1/+2
* | Support migration/dump of Beginning-of-Sentence entries.•••Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084 Keisuke Kuroyanagi2014-06-241-1/+2
|/
* Return whether the dynamic dict operation was success.•••Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466 Keisuke Kuroyanagi2014-05-271-9/+30
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-248-53/+35
* Extend jni methods and enable Beginning-of-Sentence.•••Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83 Keisuke Kuroyanagi2014-05-231-4/+4
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815 Keisuke Kuroyanagi2014-05-211-4/+5
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."•••This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9 Ken Wakasa2014-05-201-5/+4
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3 Keisuke Kuroyanagi2014-05-201-4/+5
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-2715-3/+3568
* Move DictionaryOptions from FusionDictionary to FormatSpec.•••Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2 Keisuke Kuroyanagi2014-03-061-1/+1
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-061-1/+0
* Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-051-3/+4
* Correctly read the header of APK-embedded dicts•••Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca Jean Chalard2014-02-242-5/+10
* Remove unused code.•••Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7 Keisuke Kuroyanagi2014-02-151-1/+1
* Implement PatriciaTriePolicy::getNextWordAndNextToken().•••Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c Keisuke Kuroyanagi2014-02-151-0/+63
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-141-1/+1
|\
| * Remove unused argument from readDictionaryBinary.•••Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424 Keisuke Kuroyanagi2014-02-141-1/+1