aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop waking up to decay dynamic dictionaries.Dan Zivkovic2015-02-251-818/+0
| | | | | | Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-2/+1
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Remove distracter filter from client.Dan Zivkovic2015-02-091-2/+1
| | | | | | Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
* Move util classes under commonJean Chalard2014-11-071-2/+2
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Enable count based dynamic ngram language model for v403.Keisuke Kuroyanagi2014-10-301-39/+40
| | | | | | Bug: 14425059 Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
* Fix: deleted PtNode handling in v403.Keisuke Kuroyanagi2014-10-271-1/+6
| | | | | | | If a word is once deleted, the word never gets into the personalized dictionaries due to this bug. Change-Id: Ife4e3fe1ba0615b4135e6291d2151b0db7d3f940
* Remove unused import and methodTadashi G. Takaoka2014-10-231-1/+0
| | | | | Bug: 18003991 Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65
* Use trigrams for personalization dict.Keisuke Kuroyanagi2014-10-231-0/+64
| | | | | 5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
* 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
* Merge "Support ngram entry migration."Keisuke Kuroyanagi2014-10-221-0/+15
|\
| * Support ngram entry migration.Keisuke Kuroyanagi2014-10-221-0/+15
| | | | | | | | | | Bug: 14425059 Change-Id: I98cb9fa303af2d93a0a3512e8732231c564e3c5d
* | Fix some compiler warningsTadashi G. Takaoka2014-10-211-5/+4
|/ | | | | | | | | | | | | | | | | | | | | 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-211-2/+2
| | | | | | | | | No behaviour changes. Unified the overloaded FusionDictionary::add method to always take an isPossiblyOffensive argument. Bug: 11031090 Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
* Change entry count limit.Keisuke Kuroyanagi2014-10-201-10/+28
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* Update useless n-gram entry detection logic during GC.Keisuke Kuroyanagi2014-10-151-1/+60
| | | | | Bug: 14425059 Change-Id: Ib939deae5b60167751dee07965bb1ef1a43c4625
* Make sure to suppress BoS prediction until input twice.Keisuke Kuroyanagi2014-10-061-1/+4
| | | | Change-Id: I98d91f264d5d1d3f5bcda1fd9ec885779ba2f746
* Fix: BoS prediction is shown after inputting just once.Keisuke Kuroyanagi2014-10-061-0/+3
| | | | Change-Id: Ibba209f47cb5b1a4b08281689d607711b8dcfad4
* Make unit tests use new entry updating method.Keisuke Kuroyanagi2014-10-061-84/+73
| | | | | Bug: 14425059 Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d
* Simplify dictionary creation in unit tests.Keisuke Kuroyanagi2014-10-031-107/+48
| | | | Change-Id: Id1b41494701f54651d7f79aba426e15cca8d898d
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-291-16/+16
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Get stats from dictionary.Keisuke Kuroyanagi2014-09-221-16/+16
| | | | | Bug: 16553957 Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655
* Remove unigram for v402 with historical info.Keisuke Kuroyanagi2014-08-151-0/+32
| | | | | Bug: 15531638 Change-Id: If1b73ac693e45a80df987ea16b2dece5597697e8
* Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-251-2/+3
| | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-6/+6
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-231-1/+1
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Extend jni methods and enable Beginning-of-Sentence.Keisuke Kuroyanagi2014-05-231-2/+59
| | | | | Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-21/+26
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-26/+21
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-201-21/+26
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* Add VERSION4_DEV(402) in Java side and use it for tests.Keisuke Kuroyanagi2014-05-141-14/+29
| | | | | Bug: 13406708 Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
* Support bigram historical information migration.Keisuke Kuroyanagi2014-05-131-1/+9
| | | | | Bug: 13406708 Change-Id: I4bae53e43cb7653eac3b5bd13da2d2bc8aaf88a9
* Support unigram historical information migration.Keisuke Kuroyanagi2014-05-121-4/+45
| | | | | Bug: 13406708 Change-Id: Ibed15b3bc5d5ae68faefa379028dbe10d32b0c0f
* Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-271-1/+3
| | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* Change default decaying parameters.Keisuke Kuroyanagi2014-03-141-21/+6
| | | | | Bug: 13458617 Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-3/+4
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* Correctly read the header of APK-embedded dictsJean Chalard2014-02-241-1/+1
| | | | | Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-141-2/+2
|\
| * Remove unused argument from readDictionaryBinary.Keisuke Kuroyanagi2014-02-141-2/+2
| | | | | | | | | | Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
* | Make InputLogicTest more robustTadashi G. Takaoka2014-02-131-1/+1
|/ | | | Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
* [HD04] Make the locale mandatory.Jean Chalard2014-02-051-3/+3
| | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* Separate header class from FormatSpec.Keisuke Kuroyanagi2014-02-041-7/+8
| | | | | Bug: 12810574 Change-Id: Iacf1cd05a268bf690ab864b5e32a18a4b0ccc693
* [HD03] Straighten out attribute key names in Java.Jean Chalard2014-01-311-5/+5
| | | | | Bug: 11281748 Change-Id: I1d813bdacd45bcfd9c4cc73ac1d67c5c89854e86
* Reading dictionary containing timestamps in Java Side.Keisuke Kuroyanagi2014-01-291-0/+52
| | | | | | | Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08
* Add a dedicated method to control time in native code.Keisuke Kuroyanagi2014-01-151-62/+32
| | | | | Bug: 12443085 Change-Id: I41a5cf6c895cb59e54af98b40efded36afcd3247
* Have dicttool use the native library to generate v4 dicts.Jean Chalard2013-12-131-3/+2
| | | | | | Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
* Remove flags from Java side.Jean Chalard2013-12-131-2/+0
| | | | | | | | | | | | 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
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-64/+313
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi2013-10-081-1/+73
| | | | | Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
* Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-071-0/+54
| | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940