aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Minor unit test fixes.•••Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90 Dan Zivkovic2015-03-231-4/+0
* Retire Delight2 migration code to speed up tests.•••We're waiting 10 minutes for tests to run, and half of that time is spent in depreacted code related to migration of Delight2 dictionary files. LatinIME will never migrate another Delight2 dictionary file again, so we can delete this code. Change-Id: I05c7d8429e8d9a26139456763c77997340fea8c2 Dan Zivkovic2015-03-201-237/+21
* Don't test format version 403 twice.•••BinaryDictionaryTests runs all tests 3 times for 3 format verisons. Cut that number down by 33% to speed things up. Change-Id: I8a2f78017fa30f46b5873dcf6a5f478f57af2ebd Dan Zivkovic2015-03-161-2/+1
* Fix the BinaryDictionaryTests•••Change-Id: I09378d74705e6943946ea4f76b15664086a387ed Mohammadinamul Sheik2015-03-131-1/+1
* Remove ALS from LatinIME.•••This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725 Dan Zivkovic2015-03-111-21/+0
* Remove dead code, including tests.•••Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c Dan Zivkovic2015-03-101-79/+6
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-111-140/+6
* Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-051-2/+2
* 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
* Update v4 format version from 402 to 403.•••Without personalization: Total words: 1134774, Success Num: 899230, Success Percentage: 79.243% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165% Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563% Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953% Before: Total words: 1134646, Success Num: 925194, Success Percentage: 81.540% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116% Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493% Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019% After Total words: 1134659, Success Num: 944746, Success Percentage: 83.263% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222% Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f Keisuke Kuroyanagi2014-10-311-80/+39
* 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-231-0/+1
* Remove unused import and method•••Bug: 18003991 Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65 Tadashi G. Takaoka2014-10-231-1/+0
* Use trigrams for personalization dict.•••5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02 Keisuke Kuroyanagi2014-10-231-58/+0
* 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-221-1/+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-211-9/+7
* 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-211-12/+22
* Change entry count limit.•••Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a Keisuke Kuroyanagi2014-10-201-5/+27
* Merge "Simplify dictionary creation in unit tests."Keisuke Kuroyanagi2014-10-031-281/+83
|\
| * Simplify dictionary creation in unit tests.•••Change-Id: Id1b41494701f54651d7f79aba426e15cca8d898d Keisuke Kuroyanagi2014-10-031-281/+83
* | Fix: NPE in unit test.•••Change-Id: I769b43f2afa1151d5c0d9c408018c3932be377dc Keisuke Kuroyanagi2014-10-031-8/+10
|/
* Introduce NgramProperty in Java side.•••Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82 Keisuke Kuroyanagi2014-10-011-8/+10
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-23/+23
* Merge "Get stats from dictionary."Keisuke Kuroyanagi2014-09-251-6/+10
|\
| * Get stats from dictionary.•••Bug: 16553957 Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655 Keisuke Kuroyanagi2014-09-221-6/+10
* | Add small unit test for adding/removing trigrams.•••Bug:17097992 Change-Id: I0ed0b4a172130726d822dadb6d7a806b94130104 Keisuke Kuroyanagi2014-09-191-0/+76
|/
* Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-241-4/+5
|\
| * Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-251-4/+5
* | Support migration/dump of Beginning-of-Sentence entries.•••Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084 Keisuke Kuroyanagi2014-06-241-11/+26
|/
* Update unit test for beginning-of-sentence.•••Bug: 14119293 Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb Keisuke Kuroyanagi2014-06-121-11/+7
* Implement getMaxProbabilityOfExactMatches().•••Bug: 13142176 Bug: 15428247 Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54 Keisuke Kuroyanagi2014-06-061-0/+29
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-66/+55
* Version up dynamic dict format from 401 to 402.•••Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220 Keisuke Kuroyanagi2014-05-231-2/+2
* Extend jni methods and enable Beginning-of-Sentence.•••Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83 Keisuke Kuroyanagi2014-05-231-15/+64
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815 Keisuke Kuroyanagi2014-05-211-74/+86
* 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-86/+74
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3 Keisuke Kuroyanagi2014-05-201-74/+86
* Quit use bigram probability diff for ver4 dict.•••Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e Keisuke Kuroyanagi2014-05-151-80/+115
* Add VERSION4_DEV(402) in Java side and use it for tests.•••Bug: 13406708 Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a Keisuke Kuroyanagi2014-05-141-23/+68
* Add large unit test for dictionary migration.•••Bug: 13406708 Change-Id: Ic1eb627139a1ff57c0000d95d9bd57aa3609f753 Keisuke Kuroyanagi2014-05-131-0/+85
* Add VERSION4_TEST for testing.•••Bug: 13406708 Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e Keisuke Kuroyanagi2014-05-091-4/+38
* Support creating BinaryDictionary without creating dict file.•••Bug: 14166482 Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef Keisuke Kuroyanagi2014-04-221-0/+31
* Revert "Support creating BinaryDictionary without creating dict file."•••This reverts commit 89939b870876b36791a47470ce852e4fcdfe86f2. Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af Keisuke Kuroyanagi2014-04-221-31/+0
* Support creating BinaryDictionary without creating dict file.•••Bug: 14166482 Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b Keisuke Kuroyanagi2014-04-221-0/+31
* Fix unit tests.•••Change-Id: I2a85763358e1eef0f76ef827413afffeb4cb8058 Keisuke Kuroyanagi2014-03-141-12/+11
* Unit test update for I7ed95a54344d8b.•••Change-Id: Ic8af56b8741ee7c231d73ce6a660fd32c9f5a3b3 Keisuke Kuroyanagi2014-03-121-2/+8
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-061-1/+1
* Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-051-1/+2
* Make InputLogicTest more robust•••Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6 Tadashi G. Takaoka2014-02-131-10/+0
* Merge "Consolidate WordProperty and Word."Keisuke Kuroyanagi2014-02-061-23/+20
|\
| * Consolidate WordProperty and Word.•••Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5 Keisuke Kuroyanagi2014-02-061-23/+20