Commit Graph

9915 Commits (1e6edb3e5728f82d45bc2677fd72aa654b37ee73)

Author SHA1 Message Date
Jean Chalard b3c98901c5 Add auto detection and decoding of dictionary files. (A2)
Bug: 7388852
Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
2012-10-25 16:40:15 +09:00
Jean Chalard 77fe603a3d Some initial refactoring in dicttool. (A1)
Bug: 7388852
Change-Id: I5ff70d12f3a8096ae6fb8cd4883a32ffe1683c9b
2012-10-25 16:40:11 +09:00
The Android Automerger 99a8169e18 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-24 06:59:24 -07:00
Jean Chalard b5a15bc076 am 7c22c62d: am 1f9eea44: am 306e0a80: Update AOSP dictionaries.
* commit '7c22c62d8f50aebe2f96bf5dcf99077d64db6f8f':
  Update AOSP dictionaries.
2012-10-24 02:17:37 -07:00
Jean Chalard 7c22c62d8f am 1f9eea44: am 306e0a80: Update AOSP dictionaries.
* commit '1f9eea44dc4e9b8365938647b2f257f229abfff4':
  Update AOSP dictionaries.
2012-10-24 00:29:04 -07:00
Jean Chalard 1f9eea44dc am 306e0a80: Update AOSP dictionaries.
* commit '306e0a800f2ac9fc6af24d41bfff2d8445e963c4':
  Update AOSP dictionaries.
2012-10-24 00:26:30 -07:00
Jean Chalard 306e0a800f Update AOSP dictionaries.
Changes :
- Add "emoji"
- Change the whitelist target of "foo" from "for" to "too"
- Fix non-word frequencies to 0
- Fix the freq of common en_US vs en_GB words
- Add "connection" to the en_GB dictionary

Bug: 7368441
Bug: 7370033
Bug: 7371955
Change-Id: Ib22a97e97b486b05012d5496619557f406c441b9
2012-10-24 16:12:28 +09:00
Jean Chalard ddb0bcc051 Fix a bug where a bigram would be ignored
Bug: 7403386
Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2
2012-10-24 13:24:59 +09:00
The Android Automerger 9f97ced562 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-23 06:59:51 -07:00
Jean Chalard 1ec8299389 Fix the build (again)
Change-Id: Idb7addede891a5c672d7fc09ddfe4d2585f8d647
2012-10-23 19:34:37 +09:00
Jean Chalard 5e5be5a2d2 Merge "Return the correct bigram frequency" 2012-10-23 01:19:28 -07:00
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