Commit Graph

22147 Commits (8142fd83a6ed8dd6741579f724ebda9e2b70dd01)

Author SHA1 Message Date
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
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
Baligh Uddin a34489691f am 2cc6956c: (-s ours) am 17581e41: (-s ours) am 12d095ea: (-s ours) Import translations. DO NOT MERGE
* commit '2cc6956ce0684bcee94ad73c4ade6fd7e682ad53':
  Import translations. DO NOT MERGE
2013-10-03 16:42:19 -07:00
Satoshi Kataoka 60bf226585 am b775b7ba: am 8f650683: am 6f855d06: am a6e2ec53: Merge "Reduce Emoji size"
* commit 'b775b7bae04bb82d63dea78c56c2c48b5633a712':
2013-10-03 16:42:17 -07:00
Satoshi Kataoka ddeafb3cff am 641662ca: am 523d6090: am 36301d55: am 4dc2b913: Merge "Fix possible NPE in KeyboardSwitcher"
* commit '641662ca31404de0e11d931b197fb0a229ca73f0':
2013-10-03 16:42:15 -07:00
Keisuke Kuroyanagi 930770a512 am a343e80a: am c9b9c2a3: am ecc1408e: am 68bc4ba5: Merge "Add boundary checking for PtNode Array reading."
* commit 'a343e80adc6cc60728363ab03c6679a080b3c4b9':
2013-10-03 16:42:13 -07:00
Keisuke Kuroyanagi 7df210f7a2 am ff305ac2: am 6540132d: am de12fcb0: am 8b580819: Merge "Add unigram/bigram counting."
* commit 'ff305ac29babec978a3b4d347bde3d7e08147190':
2013-10-03 16:42:11 -07:00
Keisuke Kuroyanagi 9e148bb510 am ae612f73: am 9cbb33f1: am be6076b0: am e74d4a18: Stop reading dictionary while regenerating.
* commit 'ae612f73086d1df6b2108787d45bcfe4c4a7c15f':
2013-10-03 16:42:08 -07:00
Jean Chalard 8e37ad38d4 am 5e0699bc: am 534e25f2: am 4ac33aca: am b7dfacd3: Merge "Send backspace as an event when TYPE_NULL."
* commit '5e0699bc0c75a4177a8ecbbaf9a6c603cef86a96':
2013-10-03 16:42:06 -07:00
Yuichiro Hanada 04121a9a81 am 8ab40ebd: am 8e235e56: am 1e886ac5: am a328f538: Fix PrioritizedSerialExecutor.
* commit '8ab40ebd7cd06e06608cb53626453899a2161d92':
2013-10-03 16:42:04 -07:00
Yuichiro Hanada 9442f7c1a9 am 18f70d5f: am 000ce0d5: am 704ab0f6: am 781feb74: Remove unused methods.
* commit '18f70d5ffd418e305405cde27e213989fc050a5b':
2013-10-03 16:41:57 -07:00
Baligh Uddin aa7636c662 am 923043b9: (-s ours) am 3cbc3787: (-s ours) am c3cee388: (-s ours) am 45de3925: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '923043b931cc52dd72dc2e7abc4cf3c43eb8be91':
2013-10-03 16:41:55 -07:00
Baligh Uddin f04323adc6 am ab2844ff: am 2da086c0: am abb63c12: am 15da61b7: am cd2923a6: keep history after reset to jb-ub-latinimegoogle-bayo
* commit 'ab2844ff76cbd2d4c9e3326e8c1848c6116bb473':
2013-10-03 16:41:52 -07:00
Baligh Uddin ccfbcdb500 am 4c70c7c3: am e2f7405e: am b60d479a: am bca73335: am 2aea83a4: (-s ours) keep history after reset to jb-ub-latinimegoogle-bayo
* commit '4c70c7c38727e6806ccb7a4a4f73bd408d2c0a82':
2013-10-03 16:41:50 -07:00
Baligh Uddin 92ee87da8e am 31e36465: (-s ours) am e6ba144e: (-s ours) am 932d0ba8: (-s ours) am b3e68321: (-s ours) am cc670c5d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle-bayo
* commit '31e364654219c3a9b61fdc4851b4187f008ace60':
2013-10-03 16:41:48 -07:00
The Android Automerger 580a7b678a am 7c0cd7c1: am cc287d3d: am 6bcd19f2: am f3f2a52d: am 419d5af0: merge in jb-ub-latinimegoogle-bayo history after reset to jb-ub-latinimegoogle
* commit '7c0cd7c1f1b6a88f3f47d7cdc0fc68fca1c5f4b6':
2013-10-03 16:41:46 -07:00
Keisuke Kuroyanagi f1aaccc60d am cb1b38be: am 0b7c05fb: am 199b50c1: am f2d39998: am f05aeb64: am 2e58670d: Quit using ExpandableDictionary.
* commit 'cb1b38bed5debf207c4e27b6431912d257e54287':
2013-10-03 16:41:44 -07:00
Satoshi Kataoka e5cddd8884 am 951afa9c: am a81cd44a: am 92512d85: am 43fcdc15: am 8d7365d4: am d1ae0304: Fix OOBE in JB backword
* commit '951afa9c346e714894f279b21d2c3bfa8d6f4b40':
2013-10-03 16:41:41 -07:00
Satoshi Kataoka 4378c963f3 am 8c2a7c00: am db72c6ba: am a267250a: am 740c7bdb: am 94759249: am f068c6e6: Merge "Low memory mode in UserHistory"
* commit '8c2a7c00b25787fc2ba2f988d278449b212bef88':
2013-10-03 16:41:39 -07:00
Jean Chalard 11188392c5 am 2378740f: am ea420bd0: am 3cf4169f: am 5e4b9b8c: am 1a46424d: am f6009233: Merge "Tweak for armenian periods and commas."
* commit '2378740f1c8c1f154bff9ee5ea474acbccad1da4':
2013-10-03 16:41:36 -07:00
Satoshi Kataoka b601b7a4dd am bddbf65b: am 839aa655: am 9af55705: am 007bcdd0: am 0f3e55dc: am 445ba578: Merge "Add a utility of isLowRamDevice"
* commit 'bddbf65b94e3a870c6c075b66b657a1d38974be8':
2013-10-03 16:41:34 -07:00
Ken Wakasa 821a44dbd9 am bf9c8ff0: am b4d4b110: am feecef52: am 9e89baf1: am 3d77934e: am 55e7b360: Merge "More tweaks for Armenian layouts"
* commit 'bf9c8ff051a88e9fad3c7fbb355b93fd961283ae':
2013-10-03 16:41:31 -07:00
Keisuke Kuroyanagi 83aaf9ba72 am 89c3558a: am 2dbcb5b1: am 1f3d71be: am 34b1f3de: am 572c1ac5: am 3e6b68bc: Merge "Allow large memory space for GC."
* commit '89c3558a85cf97e3e3dec132f6de0644b8a86bfd':
2013-10-03 16:41:29 -07:00
Jean Chalard cd307257c7 am dda44f60: am e53de23e: am dba48f27: am 5848c12c: am 821bff92: am 3d68b066: Copy only the spans we are interested in.
* commit 'dda44f603e7c567dcd6b1c81392e30fb7b656b45':
2013-10-03 16:41:27 -07:00
Satoshi Kataoka 6e77dd84fd am e045110f: am 533bc010: am 100f4e44: am fac7e953: am c3f7ddd7: am 3ca9c5cb: Merge "Implement delete key repeater"
* commit 'e045110f0ed7be4cc58cdec8e87274b96b3ffe32':
2013-10-03 16:41:24 -07:00