Commit graph

22220 commits

Author SHA1 Message Date
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
Keisuke Kuroyanagi
4aefcf78c7 am b6b39e5a: (-s ours) am b04ad22c: am 5c314825: (-s ours) Fix: Native crash when an empty attribute is written. DO NOT MERGE
* commit 'b6b39e5aa8921b6c6a8329440e5e455c53395276':
  Fix: Native crash when an empty attribute is written. DO NOT MERGE
2013-10-03 16:43:01 -07:00
Qiwen Zhao
500a4a0497 am e3bfed87: am 00fbb6f2: am 723da79c: keep history after reset to jb-ub-latinimegoogle-bayo
* commit 'e3bfed8759a44a2c9b774a7e36f21b61aac6872e':
2013-10-03 16:42:59 -07:00
The Android Automerger
6dc50c6b63 am f5907064: am 9e1a7ace: am 469de60d: merge in jb-ub-latinimegoogle-bayo history after reset to jb-ub-latinimegoogle
* commit 'f5907064e7ef3cdef5d64a8485dc57bd41f3c5bf':
  Import translations. DO NOT MERGE
2013-10-03 16:42:57 -07:00
Baligh Uddin
a113196f2d am 74b2fb2f: (-s ours) am e5a81559: (-s ours) am e8a00a7e: (-s ours) am 3efc5b6b: (-s ours) Import translations. DO NOT MERGE
* commit '74b2fb2fc99e39f586bdd7d013e38ef8c499ebf9':
2013-10-03 16:42:55 -07:00
Keisuke Kuroyanagi
b5048cf4b2 am 65256108: (-s ours) am c754d187: am babd4075: (-s ours) am 2c1faeda: (-s ours) am 10fa6a2e: (-s ours) Stop reading dictionary while regenerating. (DO NOT MERGE)
* commit '65256108c55574ce0d3c9c63d99c21ee929683cc':
2013-10-03 16:42:53 -07:00
Baligh Uddin
766352858b am f9a6b21f: (-s ours) am a6c3d80a: (-s ours) am 312c0f5b: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
* commit 'f9a6b21fd6c5b0c633b5e3496ad319b5b587f15e':
  Import translations. DO NOT MERGE
2013-10-03 16:42:51 -07:00
Baligh Uddin
d297ba30c2 am 5e0cd120: (-s ours) am 72022bf3: (-s ours) am 2a66f52d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
* commit '5e0cd1202fa18e1638ca16c9d12d5b992d6a4183':
  Import translations. DO NOT MERGE
2013-10-03 16:42:48 -07:00
Alan Viverette
54f2b5e5c6 am 2e0a2b2c: am 5c35c6ac: am 1e2543f1: am 458fb52b: Merge "Speak auto-corrections for accessibility"
* commit '2e0a2b2c5612ec6db9a6f6941350688a75014783':
2013-10-03 16:42:46 -07:00
Jean Chalard
7e06a5a09c am 975520fc: am 78295f7f: am 9c0740b7: am bf1beefd: Merge "Surface the distance after first word for autocommit."
* commit '975520fc196cae7259513196997b2e121c548967':
2013-10-03 16:42:44 -07:00
Keisuke Kuroyanagi
3e43916fe7 am 234b8f07: am 7a661698: am 12d3bd22: am 65330d28: Merge "Implement simple dictionary decay."
* commit '234b8f078a8115177b7b4d943300c68210d1581b':
2013-10-03 16:42:42 -07:00
Keisuke Kuroyanagi
1eaddbdc2b am 20478247: am c8a82edf: am a4c73066: am ef084229: Merge "Use reentrant lock for main dictionaries."
* commit '2047824739b12a6f3d5fd8a2fe49f5a689207153':
2013-10-03 16:42:39 -07:00
Jean Chalard
17b67822b1 am cdf39e66: am b424bb72: am 90f74e23: am 42941dd2: Merge "Update dictionaries"
* commit 'cdf39e66e923ebee9690d39f38a249acc4b15eb8':
2013-10-03 16:42:37 -07:00
Ken Wakasa
ff1bb674e6 am dee48c88: am 9019d51c: am af5511c8: am 25f47828: Merge "Separate bigram entries from the trie file."
* commit 'dee48c880a2e5c1a4b1489b755b6a48c7631bdd2':
2013-10-03 16:42:35 -07:00
Ken Wakasa
7716756711 am 9f08312f: am ab4f3bcb: am 2b73561c: am d40a931a: Merge "Change scopes of some methods in DynamicBinaryDictIOUtils."
* commit '9f08312fad00c4e48b3cba68c89caca5c5aa8481':
2013-10-03 16:42:33 -07:00
Jean Chalard
90a779a314 am f13acd4a: am 18495ea3: am a8c74842: am 16a6b2a9: Merge "Make dicttool read the compressed combined format."
* commit 'f13acd4ae68917fb0c87b1a6b81ad4af694a0c96':
2013-10-03 16:42:30 -07:00
Keisuke Kuroyanagi
25f60d7a30 am 5a9f255a: am b5518a23: am bf503325: am b698e9c1: Fix build.
* commit '5a9f255a32cd8d2b193ec8d9b4024a9ac1d4095a':
2013-10-03 16:42:28 -07:00
Keisuke Kuroyanagi
2c2e2d9ca1 am 5e70221c: am 4c677d7b: am 0aaf42b4: am c1851004: Prepare dictionary decay.
* commit '5e70221c0e62949b14a9db6a3efd9982a9cc419e':
2013-10-03 16:42:26 -07:00
Keisuke Kuroyanagi
1bbd4a91a7 am 92bba1e3: am 72e6932d: am f2800fc6: am 1cf4789b: Merge "Set header attributes for ExpandableBinaryDictionary."
* commit '92bba1e3b5d3a81c7f6ef3862b9b7f23a98ab1a5':
2013-10-03 16:42:23 -07:00
Satoshi Kataoka
f63c65ee90 am 9442c3f3: am 33587f91: am 9c6e7e23: am b0c5ddb9: Merge "Stop vibration while repeating delete key in emoji view"
* commit '9442c3f3909f25b8474d14e1d8ace5ac51a291ae':
2013-10-03 16:42:21 -07:00