Keisuke Kuroyanagi
cfb018ba6d
Fix bug and Add large test for decaying dictionary.
...
- GC gets failure when the dictionary become empty.
- Useless unigrams are sometimes not removed.
Bug: 10197478
Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
2013-10-07 17:31:01 +09:00
Jean Chalard
df33982fce
Remove suggestions when string contains a period
...
This is not the right way to do it, but it's simple and will kill the
regression. We should investigate why the return values are
wrong in this case.
Bug: 10780091
Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
2013-10-07 17:27:27 +09:00
Satoshi Kataoka
4746217247
Enter -> Alpha keyboard switcher in Emoji palette view
...
Bug: 11103091
Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
2013-10-07 17:05:54 +09:00
Satoshi Kataoka
32cf6f85a2
Show Emoji key by longpressing the enter key
...
Bug: 11074625
Change-Id: I5fc57a2b68d7dcfb8dbebf5821b76b0895a947f9
2013-10-07 16:47:13 +09:00
Satoshi Kataoka
4deb824f3a
Add navigateEmoji
...
Bug: 11074625
Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07 15:28:39 +09:00
Satoshi Kataoka
287c739db9
Merge "Fix build"
2013-10-07 03:49:43 +00:00
Satoshi Kataoka
e6e4c70a23
Fix build
...
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07 12:48:14 +09:00
Keisuke Kuroyanagi
785eed9be5
Merge "Parameter optimization."
2013-10-07 03:42:29 +00:00
Keisuke Kuroyanagi
15b1a0fd14
Parameter optimization.
...
[Category diff]
+1 194
-1 21
+2 15
-2 1
+3 1
-3 15
+4 152
-4 90
+5 108
-5 197
+6 94
-6 136
+7 28
-7 132
[Weighted category diff]
+1 230
-1 23
+2 15
-2 1
+3 1
-3 15
+4 180
-4 106
+5 122
-5 224
+6 107
-6 158
+7 29
-7 157
show diff for ./en_user_log_phones_2011_08.csv
+1 171
-1 9
+2 7
-2 1
+3 1
-3 7
+4 123
-4 76
+5 84
-5 157
+6 66
-6 119
+7 20
-7 103
Before
---- count ----
Count(1):75.64%, 177913
Count(2):1.06%, 2510
Count(3):0.56%, 1319
Count(4):6.63%, 15612
Count(5):9.87%, 23223
Count(6):2.79%, 6580
Count(7):3.41%, 8038
---- weight ----
Weight(1):96.88%, 2009907
Weight(2):0.24%, 5157
Weight(3):0.09%, 2025
Weight(4):0.77%, 16095
Weight(5):1.11%, 23077
Weight(6):0.39%, 8172
Weight(7):0.48%, 10146
---- score ----
Conservative score = 66.406
Normal score = 81.512
Agressive score = 89.064
Insane score = 92.841
After
---- count ----
Count(1):75.71%, 178087
Count(2):1.07%, 2524
Count(3):0.55%, 1305
Count(4):6.66%, 15677
Count(5):9.83%, 23133
Count(6):2.78%, 6539
Count(7):3.37%, 7930
---- weight ----
Weight(1):96.89%, 2010118
Weight(2):0.24%, 5171
Weight(3):0.09%, 2011
Weight(4):0.78%, 16184
Weight(5):1.1%, 22972
Weight(6):0.39%, 8109
Weight(7):0.48%, 10014
---- score ----
Conservative score = 66.431
Normal score = 81.531
Agressive score = 89.08
Insane score = 92.855
No diffs for 10+ freq user log.
Change-Id: Ica4a7604507a2c91aaa7daf5bacf4fce4039f547
2013-10-07 12:39:51 +09:00
Satoshi Kataoka
d76b552979
Rename EmojiKeyboardView -> EmojiPalettesView
...
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-07 12:28:13 +09:00
Baligh Uddin
a8f4efd013
am 069b185d
: (-s ours) am 0de11871
: (-s ours) am b2ffcd64
: (-s ours) Import translations. DO NOT MERGE
...
* commit '069b185d83ed7ab2c96db03aa8271b4bbf34233a':
Import translations. DO NOT MERGE
2013-10-06 18:19:58 -07:00
Baligh Uddin
069b185d83
am 0de11871
: (-s ours) am b2ffcd64
: (-s ours) Import translations. DO NOT MERGE
...
* commit '0de11871c5569921296a72a56a33bddab1167ed0':
Import translations. DO NOT MERGE
2013-10-06 18:14:51 -07:00
Baligh Uddin
0de11871c5
am b2ffcd64
: (-s ours) Import translations. DO NOT MERGE
...
* commit 'b2ffcd6424eaed951302889079773f6a51c9d380':
Import translations. DO NOT MERGE
2013-10-06 18:11:59 -07:00
Baligh Uddin
f645402a07
Merge "Import translations. DO NOT MERGE"
2013-10-06 02:43:10 +00:00
Baligh Uddin
f96391aee0
Import translations. DO NOT MERGE
...
Change-Id: I15036545751abe751f2768daef7f3f1605a5457e
Auto-generated-cl: translation import
2013-10-04 22:59:25 -07:00
Baligh Uddin
b2ffcd6424
Import translations. DO NOT MERGE
...
Change-Id: I6f88694633aa9f39c6b1731ea7634b80d3e3bf69
Auto-generated-cl: translation import
2013-10-04 22:55:10 -07:00
Qiwen Zhao
791a5a6a3c
am 06ba3ef1
: (-s ours) am 551a1c24
: reset to klp-dev branch to fix merging problem.
...
* commit '06ba3ef19fba91dcb9071cadc4b4bd4d0b454366':
2013-10-04 12:57:05 -07:00
Qiwen Zhao
06ba3ef19f
am 551a1c24
: reset to klp-dev branch to fix merging problem.
...
* commit '551a1c246ff348353a57ea3be13aa419457923f5':
2013-10-04 12:30:48 -07:00
Satoshi Kataoka
6594318e7d
am 5ce96037
: (-s ours) am d03f1793
: am f4aa9a7b
: Do not merge. Revert emoji key position to JB-mr2
...
* commit '5ce9603784423f6dfa4f0654b0b104591f7ac1ae':
Do not merge. Revert emoji key position to JB-mr2
2013-10-04 11:10:43 -07:00
Qiwen Zhao
551a1c246f
reset to klp-dev branch to fix merging problem.
2013-10-04 11:04:56 -07:00
Jean Chalard
423921ca13
Merge "Fallback on empty locales."
2013-10-04 13:44:44 +00:00
Jean Chalard
5db7eabafb
Merge "Accept double-space-period after emoji."
2013-10-04 13:05:43 +00:00
Jean Chalard
43a8a0c527
Fallback on empty locales.
...
This is a very rare corner case.
Bug: 11072132
Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
2013-10-04 22:04:59 +09:00
Jean Chalard
8142fd83a6
Accept double-space-period after emoji.
...
This also includes a fix that allows this code to read surrogate
pairs in this processing.
Bug: 11070482
Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
2013-10-04 22:01:36 +09:00
Satoshi Kataoka
1d188a28fb
Merge "Fix emoji"
2013-10-04 12:00:39 +00:00
Satoshi Kataoka
0cf92aa826
Fix emoji
...
Bug: 10538430
Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1
2013-10-04 20:58:09 +09:00
Satoshi Kataoka
0b288985b7
Merge "Fix emoji recent key behavior"
2013-10-04 11:18:07 +00:00
Satoshi Kataoka
e7ed5cae44
Fix emoji recent key behavior
...
Bug: 10538430
Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6
2013-10-04 20:01:00 +09:00
Ken Wakasa
c01707db03
Merge "Suppress exceptions that have always been happening."
2013-10-04 10:13:53 +00:00
Ken Wakasa
fba1bd0ec4
Suppress exceptions that have always been happening.
...
Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
2013-10-04 19:10:26 +09:00
Ken Wakasa
676bb517ed
Merge "Add Ver4DictUpdater."
2013-10-04 09:48:27 +00:00
Ken Wakasa
618158e675
Merge "Refactor BinaryDictIOUtilsTests."
2013-10-04 09:47:35 +00:00
Satoshi Kataoka
6ec0cf12b8
Merge "Tentatively revert assets"
2013-10-04 09:17:12 +00:00
Satoshi Kataoka
0b4d75c2fa
Tentatively revert assets
...
Change-Id: I403fc24a407fdd3b433d5820f1b46e6985cbe83e
2013-10-04 18:09:03 +09:00
Yuichiro Hanada
e4e0add9fb
Add Ver4DictUpdater.
...
Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
2013-10-04 17:33:29 +09:00
Keisuke Kuroyanagi
966af8b5ba
Merge "Make BinaryDictionaryTests use current time as a seed."
2013-10-04 08:04:05 +00:00
Satoshi Kataoka
5ce9603784
am d03f1793
: am f4aa9a7b
: Do not merge. Revert emoji key position to JB-mr2
...
* commit 'd03f17936b95be7da38c36a65cfc4e62176ef7ed':
Do not merge. Revert emoji key position to JB-mr2
2013-10-04 00:49:34 -07:00
Keisuke Kuroyanagi
bcb196e3b5
Make BinaryDictionaryTests use current time as a seed.
...
Bug: 10197478
Change-Id: Ib79cd3a81b01b16259df29b36e1df6b8f0affca8
2013-10-04 16:48:22 +09:00
Satoshi Kataoka
d03f17936b
am f4aa9a7b
: Do not merge. Revert emoji key position to JB-mr2
...
* commit 'f4aa9a7bd71b646cee8dd7dd19af27bc56238d1e':
Do not merge. Revert emoji key position to JB-mr2
2013-10-04 00:47:41 -07:00
Satoshi Kataoka
f4aa9a7bd7
Do not merge. Revert emoji key position to JB-mr2
...
Cherry pick of Ie2033b2f5253b2e2
Bug: 10954182
Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd
2013-10-04 16:38:54 +09:00
Keisuke Kuroyanagi
3e5f4b53b0
Merge "Check the elapsed time for decaying."
2013-10-04 07:16:17 +00:00
Keisuke Kuroyanagi
67c855ea6f
Check the elapsed time for decaying.
...
Bug: 6669677
Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
2013-10-04 16:11:11 +09:00
Yuichiro Hanada
75d60e821c
Refactor BinaryDictIOUtilsTests.
...
Change-Id: I2208378b33038771b460abb33f9a690872e998e2
2013-10-04 14:19:13 +09:00
Yuichiro Hanada
14d31d4640
Add AbstractDictDecoder.
...
Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
2013-10-04 14:16:59 +09:00
Ken Wakasa
78409cd940
Merge "Separate shortcut targets from the trie file."
2013-10-04 05:12:55 +00:00
Xiaojun Bi
0b62621446
Merge "Optimize the parameters for the typing algorithm"
2013-10-04 03:25:43 +00:00
Satoshi Kataoka
ef64676bf8
Merge "Revert emoji key position to JB-mr2"
2013-10-04 02:30:26 +00:00
Xiaojun Bi
2ed09c214a
Optimize the parameters for the typing algorithm
...
The new set of parameters are optimized for both
keystroke savings and regression test scores.
This change is corresponding to the patch 6 of
Change-Id: Ib8439a85de26cbbba58837344717f0acbfcf0ab0
in the regression test repository.
Here is the link to the doc analyzing the
“nnow → know” case:
https://docs.google.com/a/google.com/document/d/1XIHfAHLlP1f3F8R-u7yxPGWcP58tokygzN_lQKXFFgM/edit
Here is the link to the spreadsheet showing
the diff of the words with frequencies >= 10
in en_user_log_phones_2011_08.csv.
https://docs.google.com/a/google.com/spreadsheet/ccc?key=0Am_RQlV4zC6SdFFVTlhJT0RLUENCWWZOZ3JQTUpMQ2c&usp=drive_web#gid=0
Updated TRT Results for this change:
[Category diff]
+1 783
-1 717
+2 20
-2 34
+3 34
-3 20
+4 575
-4 777
+5 765
-5 755
+6 785
-6 666
+7 479
-7 472
[Weighted category diff]
+1 999
-1 965
+2 21
-2 35
+3 35
-3 21
+4 804
-4 980
+5 970
-5 971
+6 954
-6 831
+7 645
-7 625
Bug: 10613502
Change-Id: I5cd447673a196ad5af641a2118602bec879bdefb
2013-10-03 19:30:26 -07:00
Satoshi Kataoka
5a54a5769c
Revert emoji key position to JB-mr2
...
Bug: 10538430
Change-Id: Ie2033b2f5253b2e2fc2229ba6c95568e7b2a58fa
2013-10-04 11:21:51 +09:00
Yuichiro Hanada
73b9d3b879
Separate shortcut targets from the trie file.
...
Bug: 10920165
Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
2013-10-04 11:16:10 +09:00