aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix a bug with languages without spaces and predictionsJean Chalard2013-12-162-8/+22
|/ | | | | | This is simpler and more correct. Change-Id: I41806d2fc12b4ca25f76e32972b38f91f3d05c2b
* Fix failing testsJean Chalard2013-12-163-37/+19
| | | | | | | - Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
* Merge "Remove references to the v3 dictionary."Jean Chalard2013-12-131-2/+0
|\
| * Remove references to the v3 dictionary.Jean Chalard2013-12-131-2/+0
| | | | | | | | Change-Id: I811c8c923ad67a6d9bfdd11bdef8991eb7135c27
* | Merge "Remove code for forgetting curve in Java side."Keisuke Kuroyanagi2013-12-131-58/+0
|\ \ | |/ |/|
| * Remove code for forgetting curve in Java side.Keisuke Kuroyanagi2013-12-131-58/+0
| | | | | | | | Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
* | Have dicttool use the native library to generate v4 dicts.Jean Chalard2013-12-135-15/+14
| | | | | | | | | | | | Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
* | Remove flags from Java side.Jean Chalard2013-12-136-82/+39
|/ | | | | | | | | | | | 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-1315-534/+1209
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-2/+8
| | | | | Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
* Fix unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4Ken Wakasa2013-10-111-1/+1
| | | | Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab
* Add the new format of bigram entries.Yuichiro Hanada2013-10-111-0/+11
| | | | | | | | | In new format, each bigram entry has flags (1 byte), a terminal id (3 byte), a time-stamp (4 byte), a counter (1 byte) and a level (1 byte). Bug: 10920255 Bug: 10920165 Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
* Revert "Add Swiss French and German keyboard layouts."Ken Wakasa2013-10-101-30/+0
| | | | | | | | This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8. Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week. Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
* Add Swiss French and German keyboard layouts.Fredrik Roubert2013-10-091-0/+30
| | | | | | | | | | | | | | | There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY, available in LatinIME. They were, however, not actually Swiss layouts but instead work-arounds to be able to get French or German with qwertz or qwerty (instead of azerty and qwertz) layouts, respectively. These were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee replacing them with the generic fr-qwertz and de-qwerty layouts instead. Here, now, is a proper Swiss keyboard layout, following Swiss standards for people accustomed to typing on Swiss keyboards, with the expected tailorings for French and German. Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
* Merge "Make the sentence separator a resource."Jean Chalard2013-10-081-40/+42
|\
| * Make the sentence separator a resource.Jean Chalard2013-10-081-40/+42
| | | | | | | | | | | | | | This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
* | Merge "Add Ime language switching test."Keisuke Kuroyanagi2013-10-083-1/+102
|\ \ | |/ |/|
| * Add Ime language switching test.Keisuke Kuroyanagi2013-10-083-1/+102
| | | | | | | | Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
* | Merge "Add a large test adding bigrams for decaying dictionary."Keisuke Kuroyanagi2013-10-081-1/+73
|\ \
| * | Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi2013-10-081-1/+73
| | | | | | | | | | | | | | | Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
* | | Merge "Set the shortcut frequency correctly."Jean Chalard2013-10-072-9/+12
|\ \ \ | |/ / |/| |
| * | Set the shortcut frequency correctly.Jean Chalard2013-10-072-9/+12
| | | | | | | | | | | | | | | | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* | | 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
* | Merge "Accept double-space-period after emoji."Jean Chalard2013-10-041-4/+11
|\ \
| * | Accept double-space-period after emoji.Jean Chalard2013-10-041-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
* | | Merge "Add Ver4DictUpdater."Ken Wakasa2013-10-042-0/+4
|\ \ \
| * | | Add Ver4DictUpdater.Yuichiro Hanada2013-10-042-0/+4
| | | | | | | | | | | | | | | | Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
* | | | Merge "Refactor BinaryDictIOUtilsTests."Ken Wakasa2013-10-042-25/+59
|\| | |
| * | | Refactor BinaryDictIOUtilsTests.Yuichiro Hanada2013-10-042-25/+59
| |/ / | | | | | | | | | Change-Id: I2208378b33038771b460abb33f9a690872e998e2
* | | Merge "Make BinaryDictionaryTests use current time as a seed."Keisuke Kuroyanagi2013-10-041-54/+60
|\ \ \ | |_|/ |/| |
| * | Make BinaryDictionaryTests use current time as a seed.Keisuke Kuroyanagi2013-10-041-54/+60
| | | | | | | | | | | | | | | Bug: 10197478 Change-Id: Ib79cd3a81b01b16259df29b36e1df6b8f0affca8
* | | Merge "Check the elapsed time for decaying."Keisuke Kuroyanagi2013-10-041-2/+2
|\| | | |/ |/|
| * Check the elapsed time for decaying.Keisuke Kuroyanagi2013-10-041-2/+2
| | | | | | | | | | Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
* | Merge "Fix UserHistoryDictionaryTests."Keisuke Kuroyanagi2013-10-031-47/+45
|\ \
| * | Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-47/+45
| |/ | | | | | | | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* / Add DictUpdater.Yuichiro Hanada2013-10-032-35/+12
|/ | | | Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
* Merge "Remove some unused variables."Ken Wakasa2013-10-022-20/+16
|\
| * Remove some unused variables.Yuichiro Hanada2013-10-022-20/+16
| | | | | | | | Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
* | Merge "Stochastic decay."Keisuke Kuroyanagi2013-10-021-4/+8
|\ \ | |/ |/|
| * Stochastic decay.Keisuke Kuroyanagi2013-10-021-4/+8
| | | | | | | | | | Bug: 6669677 Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771
* | Make SparseTable have multiple content tables.Yuichiro Hanada2013-10-021-32/+70
| | | | | | | | | | Bug: 10920165 Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
* | Fix a test and crash with a better error message when readingJean Chalard2013-10-021-1/+3
|/ | | | | | | | | When there are too many bigrams, we stop reading the file, so the file pointer is in an inconsistent place. This means we have no idea what's going to happen next. It's better to crash right away. Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
* Separate "GC" and "GC with decay".Keisuke Kuroyanagi2013-10-011-0/+7
| | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
* Implement simple dictionary decay.Keisuke Kuroyanagi2013-09-301-0/+171
| | | | | | | | | | Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
* Fix build.Keisuke Kuroyanagi2013-09-301-1/+1
| | | | Change-Id: If7c76ca5f7030ba2003228ed1877bdb948b4b99d
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-291-13/+13
|\
| * Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-281-13/+13
| | | | | | | | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* | Merge "Add unigram/bigram counting."Keisuke Kuroyanagi2013-09-271-0/+54
|\ \
| * | Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-0/+54
| | | | | | | | | | | | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* | | Fix PrioritizedSerialExecutor.Yuichiro Hanada2013-09-271-9/+4
| |/ |/| | | | | | | | | | | | | It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8