Commit graph

10154 commits

Author SHA1 Message Date
Jean Chalard
c59c741987 Return the correct bigram frequency
The "correct" bigram frequency is now returned by the reading
code. However, as the binary format represents the frequency
in a lossy manner, the frequency is not guaranteed to be the
exact same as the one in the source text format - only a close
enough value. It is however the exact same value seen by the
native code.

Bug: 7395653
Change-Id: I49199ef18901c671189912b3550623e9643baedd
2012-10-23 17:17:37 +09:00
Jean Chalard
1e0cc86b6f Fix the build.
It seems this change snuck out from a previous version.

Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
2012-10-23 15:34:42 +09:00
Jean Chalard
c7020f54f9 Merge "Add reader and writer for the combined dict format." 2012-10-22 23:11:20 -07:00
Jean Chalard
9bb4eebf48 Add reader and writer for the combined dict format.
This introduces a new textual format for the dictionary that combines
words, bigrams and shortcuts to avoid complexity. It is also extensible
to n-grams to fool-prof for the future, and easier to read than XML.

Bug: 7388540
Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
2012-10-23 15:06:25 +09:00
Jean Chalard
751f3dc0e1 am 6fe6f38d: am d39e6435: am f960eb18: Don\'t put spaces after characters that don\'t take one
* commit '6fe6f38d8af09b24e40a6e01eae919820cd04c16':
  Don't put spaces after characters that don't take one
2012-10-22 21:46:43 -07:00
Jean Chalard
6fe6f38d8a am d39e6435: am f960eb18: Don\'t put spaces after characters that don\'t take one
* commit 'd39e64350c99b0dd3076214ebb1ec9ed1eb6e386':
  Don't put spaces after characters that don't take one
2012-10-22 21:44:20 -07:00
Jean Chalard
d39e64350c am f960eb18: Don\'t put spaces after characters that don\'t take one
* commit 'f960eb186d63aa4f9fecd22f036fc8724d39d949':
  Don't put spaces after characters that don't take one
2012-10-22 21:41:41 -07:00
Jean Chalard
f960eb186d Don't put spaces after characters that don't take one
Bug: 7393639
Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
2012-10-23 12:28:28 +09:00
Jean Chalard
cbb3252731 Merge "Use a buffered writer for XML output" 2012-10-22 18:54:38 -07:00
Jean Chalard
000a020e32 Use a buffered writer for XML output
Change-Id: I85aa133985282993542659db2ee61960b02042d7
2012-10-23 10:42:22 +09:00
Tadashi G. Takaoka
7f77aed507 Merge "Replace useless CharSequence to String" 2012-10-22 14:27:35 -07:00
Kim Le
82a6f66783 LatinIME: Add accents to german keyboard
This fixes http://code.google.com/p/android/issues/detail?id=26247

Add
// U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
// U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE
// U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX
// U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS

Change-Id: I81d79f153cdfe7015bd0a343c681322ab8316db7
2012-10-22 22:19:08 +02:00
Tadashi G. Takaoka
15f6d4ae34 Add @UsedForTesting and @ExternallyReferenced annotations
Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
2012-10-22 11:18:43 -07:00
Tadashi G. Takaoka
bc464e2952 Replace useless CharSequence to String
Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
2012-10-22 11:03:28 -07:00
Tadashi G. Takaoka
243c1fecc6 Sync package name and source path
Change-Id: I8d3ded01c508c3afaa0d8afa9ce1445117626ddc
2012-10-19 18:14:19 -07:00
Tadashi G. Takaoka
8a3b07945a Add Spanish Latin America keyboard
Change-Id: I83615a061be3267a7b9199ed2c5c818401ed0b64
2012-10-19 15:26:20 -07:00
The Android Automerger
89b4a66939 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-18 07:00:10 -07:00
Tadashi G. Takaoka
5faf419519 Suggestion strip will honor haptic feedback settings of keyboard
Bug: 7313372
Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
2012-10-17 21:40:02 -07:00
Tadashi G. Takaoka
8e360c68f1 Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcher
Bug: 7313372
Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
2012-10-17 19:39:16 -07:00
Jean Chalard
b0f6b70d44 am bb0bc326: am 5b095509: am 65225d82: Merge "Update AOSP dictionaries." into jb-mr1-dev
* commit 'bb0bc3260eccf6952e71655e4d933e7ca84e9a53':
  Update AOSP dictionaries.
2012-10-17 19:08:41 -07:00
Jean Chalard
bb0bc3260e am 5b095509: am 65225d82: Merge "Update AOSP dictionaries." into jb-mr1-dev
* commit '5b095509c989166ee5d8cbf9ebed674fc730abe5':
  Update AOSP dictionaries.
2012-10-17 19:06:22 -07:00
Jean Chalard
5b095509c9 am 65225d82: Merge "Update AOSP dictionaries." into jb-mr1-dev
* commit '65225d8211ee4f551c0996cf58552c721e45c39c':
  Update AOSP dictionaries.
2012-10-17 19:04:28 -07:00
Jean Chalard
65225d8211 Merge "Update AOSP dictionaries." into jb-mr1-dev 2012-10-17 19:03:01 -07:00
Tadashi G. Takaoka
aeae68479d Merge "Shortcut key is enabled on the no language keyoard" 2012-10-17 17:39:50 -07:00
Jean Chalard
5f9e008d60 am 005f3768: am 25b4a14e: am d03e065b: Don\'t consider non-words for split word suggestion
* commit '005f3768400ce1d7bb29ef69151183084aceeb2c':
  Don't consider non-words for split word suggestion
2012-10-17 17:06:11 -07:00
Jean Chalard
005f376840 am 25b4a14e: am d03e065b: Don\'t consider non-words for split word suggestion
* commit '25b4a14e5f44d8921aa834755f4550960846de0c':
  Don't consider non-words for split word suggestion
2012-10-17 17:04:41 -07:00
Jean Chalard
25b4a14e5f am d03e065b: Don\'t consider non-words for split word suggestion
* commit 'd03e065b861bd1cdb90bc70f18b7d7a3815b7a4d':
  Don't consider non-words for split word suggestion
2012-10-17 17:02:16 -07:00
Tadashi G. Takaoka
723d32ad6e Shortcut key is enabled on the no language keyoard
Bug: 6617754
Change-Id: Id8336f152456367320de3151823691eebc2e02f6
2012-10-17 16:27:43 -07:00
Jean Chalard
d03e065b86 Don't consider non-words for split word suggestion
Bug: 7368683
Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0
2012-10-18 07:28:18 +09:00
Jean Chalard
3d83a1648b Update AOSP dictionaries.
Differences :
oh 90 -> 105
ooh 54 -> 54
hoy,kinkier,kinkiest,kinkiness,kinkily,kinky -> 0
trst -> remove

New whitelist entries (actually old that had not been applied)
"berm" -> "been"
"foe" -> "for"
"hid" -> "his"
"thong" -> "thing"

French :
Add "six" and remove some non-words

Bug: 7329149
Bug: 7356297
Change-Id: I55092f0538db8627148b0a314e50eff926c47275
2012-10-18 00:39:16 +09:00
The Android Automerger
2dd555077e merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-17 07:00:06 -07:00
Baligh Uddin
3e37b22fa7 am ee4b3e64: (-s ours) am e5fd5ea5: am dbba676c: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'ee4b3e64ee95bd17c81cdd87a0de60ebbbf1ebe9':
  Import translations. DO NOT MERGE
2012-10-16 22:34:35 -07:00
Baligh Uddin
ee4b3e64ee am e5fd5ea5: am dbba676c: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'e5fd5ea596c769f496be54960e26ef0da220f83e':
  Import translations. DO NOT MERGE
2012-10-16 22:32:27 -07:00
Baligh Uddin
c1b5108bde am 72339a62: (-s ours) am c561cc2b: Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit '72339a62e13c0d51fbc67e59d28b1e7cff5142d9':
  Import translations. DO NOT MERGE
2012-10-16 22:32:06 -07:00
Baligh Uddin
e5fd5ea596 am dbba676c: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'dbba676c00cd5479e292a91c5672d920b9137759':
  Import translations. DO NOT MERGE
2012-10-16 22:30:16 -07:00
Baligh Uddin
72339a62e1 am c561cc2b: Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit 'c561cc2b641cecdc8f5c29a7a3ac17bae6282747':
  Import translations. DO NOT MERGE
2012-10-16 22:29:58 -07:00
Baligh Uddin
52992085f5 Merge "Import translations. DO NOT MERGE" 2012-10-16 22:28:24 -07:00
Baligh Uddin
dbba676c00 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 22:27:36 -07:00
Baligh Uddin
c561cc2b64 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-16 22:27:14 -07:00
Jean Chalard
c5dc32ac59 am b37e87e7: am 63b3fc0d: am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
* commit 'b37e87e7d50725f20a6b2f8484fc25cc7db3134f':
  Have "no whitespace before cursor" upon gesture trigger phantom space
2012-10-16 18:12:50 -07:00
Jean Chalard
b37e87e7d5 am 63b3fc0d: am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
* commit '63b3fc0d23696ec33b3cbe817bdd77f5d1a0aa03':
  Have "no whitespace before cursor" upon gesture trigger phantom space
2012-10-16 18:11:02 -07:00
Jean Chalard
63b3fc0d23 am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
* commit '15142588244a10b241f5d3691f80b6540f3f3fc3':
  Have "no whitespace before cursor" upon gesture trigger phantom space
2012-10-16 18:08:11 -07:00
Jean Chalard
1514258824 Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev 2012-10-16 18:06:11 -07:00
Jean Chalard
e91d495c53 Have "no whitespace before cursor" upon gesture trigger phantom space
Bug: 7359291
Bug: 7357758
Bug: 7197651
Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
2012-10-17 09:36:07 +09:00
Tadashi G. Takaoka
788c885aa5 am 344a7fef: am 658e935b: am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev
* commit '344a7fef5bd101e2d1c4278cc35de2862f28a456':
  Fix more suggestions text width calculation
2012-10-16 17:32:00 -07:00
Tadashi G. Takaoka
477088c612 am 6b169dc9: am 718a0744: am 0cbc19b0: Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev
* commit '6b169dc91d7533d36bc1f5864bcaf05450af3beb':
  Restrict bogus move event detector to a horizontal movement
2012-10-16 17:31:56 -07:00
Tadashi G. Takaoka
344a7fef5b am 658e935b: am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev
* commit '658e935ba1d7763854b2df87d90f7d374a81c7a1':
  Fix more suggestions text width calculation
2012-10-16 17:29:39 -07:00
Tadashi G. Takaoka
6b169dc91d am 718a0744: am 0cbc19b0: Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev
* commit '718a07441ee27c0ba66d3d7aa9d1299c39e7f8b1':
  Restrict bogus move event detector to a horizontal movement
2012-10-16 17:29:37 -07:00
Jean Chalard
fa3d984d1b am 60211f0d: am 2631fe4c: am 6686e63f: Honor automatic shift turned off for gestures
* commit '60211f0d250ca931788d32d5a69c880f75ef7d49':
  Honor automatic shift turned off for gestures
2012-10-16 17:28:18 -07:00
Tadashi G. Takaoka
658e935ba1 am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev
* commit 'c0bc3369555435c677804b652b5fb36faf3602e5':
  Fix more suggestions text width calculation
2012-10-16 17:26:59 -07:00