Commit Graph

23529 Commits (e47f7332f9bb94905015061dd9791f43763ccab8)

Author SHA1 Message Date
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 b3ac25f1d9 am 4deb824f: Add navigateEmoji
* commit '4deb824f3a91e2e157a3a0334e46b9bba394bc1a':
  Add navigateEmoji
2013-10-06 23:35:34 -07:00
Satoshi Kataoka 4deb824f3a Add navigateEmoji
Bug: 11074625
Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07 15:28:39 +09:00
Satoshi Kataoka 8822a52c3f am 287c739d: Merge "Fix build"
* commit '287c739db9715222733af18b5e575f0bba1033bf':
  Fix build
2013-10-06 20:51:10 -07: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 8b6b9e3367 am 785eed9b: Merge "Parameter optimization."
* commit '785eed9be5e3d969823ba5d3a80121a2acdb8d83':
  Parameter optimization.
2013-10-06 20:43:44 -07: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 6f726f6fff am d76b5529: Rename EmojiKeyboardView -> EmojiPalettesView
* commit 'd76b55297940a65bb9479020a9ed58aa978a0aea':
  Rename EmojiKeyboardView -> EmojiPalettesView
2013-10-06 20:35:15 -07:00
Satoshi Kataoka d76b552979 Rename EmojiKeyboardView -> EmojiPalettesView
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-07 12:28:13 +09:00
Baligh Uddin 7b8c9dd0b0 am a8f4efd0: (-s ours) am 069b185d: (-s ours) am 0de11871: (-s ours) am b2ffcd64: (-s ours) Import translations. DO NOT MERGE
* commit 'a8f4efd0132592c34ab87b6a3cf6ce1baa0f522d':
  Import translations. DO NOT MERGE
2013-10-06 18:23:03 -07: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
The Android Automerger 5e5bcc1799 merge in klp-release history after reset to klp-dev 2013-10-06 06:02:14 -07:00
Baligh Uddin e9557d4b89 am f645402a: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'f645402a0797486004c71dd5677f630dde9b7e11':
  Import translations. DO NOT MERGE
2013-10-05 21:20:23 -07:00
Baligh Uddin f645402a07 Merge "Import translations. DO NOT MERGE" 2013-10-06 02:43:10 +00:00
Baligh Uddin d7e90dad0e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-10-06 02:42:46 +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
Baligh Uddin e4343ac686 Import translations. DO NOT MERGE
Change-Id: Icb238009beb72e5f4f70ad6e7e2333e26a7b24d5
Auto-generated-cl: translation import
2013-10-04 22:51:01 -07:00
Baligh Uddin 4d4fe3eb5e Import translations. DO NOT MERGE
Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97
Auto-generated-cl: translation import
2013-10-04 22:46:44 -07:00
Qiwen Zhao e30c888598 am 791a5a6a: am 06ba3ef1: (-s ours) am 551a1c24: reset to klp-dev branch to fix merging problem.
* commit '791a5a6a3c8e89fd6c442a8ebac4019ace892276':
2013-10-04 12:59:58 -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 39ccc44b5a am 6594318e: (-s ours) am 5ce96037: (-s ours) am d03f1793: am f4aa9a7b: Do not merge. Revert emoji key position to JB-mr2
* commit '6594318e7db5998c4be634ca0ec957d4115706d3':
  Do not merge. Revert emoji key position to JB-mr2
2013-10-04 12:00:19 -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
Satoshi Kataoka 2215ce5811 Do not merge. Revert emoji key position to JB-mr2
Cherry pick of Ie2033b2f5253b2e2

Bug: 10954182
Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd
2013-10-04 10:35:28 -07:00
Baligh Uddin a9a54bb4cd Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-10-04 16:55:51 +00:00
Baligh Uddin 2b361d95a6 Import translations. DO NOT MERGE
Change-Id: I50e530351c75746759fefc4113c4f881755405ec
Auto-generated-cl: translation import
2013-10-04 09:03:13 -07:00
Jean Chalard 73ca0f2cec am 423921ca: Merge "Fallback on empty locales."
* commit '423921ca131dd1f330599063d34acd714889edf1':
  Fallback on empty locales.
2013-10-04 06:47:34 -07:00
Jean Chalard 423921ca13 Merge "Fallback on empty locales." 2013-10-04 13:44:44 +00:00
Jean Chalard c5f7d74b2b am 5db7eaba: Merge "Accept double-space-period after emoji."
* commit '5db7eabafb75a595403309b74c86cba5d4d5486f':
  Accept double-space-period after emoji.
2013-10-04 06:08:34 -07: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 3bf2c59881 am 1d188a28: Merge "Fix emoji"
* commit '1d188a28fb0930217098fef10937674e24ca5a49':
  Fix emoji
2013-10-04 05:02:12 -07: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 664f11f2ff am 0b288985: Merge "Fix emoji recent key behavior"
* commit '0b288985b7e6a74f94943f15be6d6d55d6cca872':
  Fix emoji recent key behavior
2013-10-04 04:31:32 -07: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 f330de9526 am c01707db: Merge "Suppress exceptions that have always been happening."
* commit 'c01707db03c124ecab0c8ba14b4e4f2d24c973c9':
  Suppress exceptions that have always been happening.
2013-10-04 03:15:40 -07: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