Commit Graph

33966 Commits (2bdd5290a979f6412a91a7f0a4a97b07e5955dd2)

Author SHA1 Message Date
Jean Chalard 56577461d6 Allow whitelist changes when no close word
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
2014-11-26 18:43:22 +09:00
Jean Chalard e752aab70d Use confidence to fix whitelist
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
2014-11-26 17:29:59 +09:00
Tadashi G. Takaoka cbefc0c8f9 Remove obsolete comment
Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7
2014-11-26 12:02:07 +09:00
Keisuke Kuroyanagi 20da4f07be Merge "Use enum to specify ngram type." 2014-11-25 10:34:15 +00:00
Keisuke Kuroyanagi 60021bbdc2 Enable Quadgram for personalized dicts.
Before:
Total words: 1134659, Success Num: 944709, Success Percentage: 83.259%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880%

After:
Total words: 1134665, Success Num: 945026, Success Percentage: 83.287%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112%
Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446%
Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808%

Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
2014-11-25 19:07:13 +09:00
Keisuke Kuroyanagi 78212a6d3d Use enum to specify ngram type.
Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
2014-11-25 19:07:10 +09:00
Jean Chalard b479a56f28 Merge "Add confidence." 2014-11-25 06:22:30 +00:00
Jean Chalard d06dd0ca12 Add confidence.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
2014-11-25 14:41:27 +09:00
Tadashi G. Takaoka 8e32700914 Merge "Refactor PointerTracker and MainKeyboardView" 2014-11-25 02:09:25 +00:00
Keisuke Kuroyanagi 62ac89e149 Merge "Implement ArgumentsParser::parseArguments and add tests." 2014-11-25 01:35:30 +00:00
Geoff Mendal dd01ed3af8 Merge "Import translations. DO NOT MERGE" 2014-11-24 18:05:52 +00:00
Geoff Mendal e6e354720c Merge "Import translations. DO NOT MERGE" 2014-11-24 18:04:24 +00:00
Geoff Mendal 7c2da981de Merge "Import translations. DO NOT MERGE" 2014-11-24 18:03:12 +00:00
Geoff Mendal e40a068cee Merge "Import translations. DO NOT MERGE" 2014-11-24 18:02:54 +00:00
Geoff Mendal d665a22f69 Import translations. DO NOT MERGE
Change-Id: I8a777c9f33e81b6b95bec3b20ef5370ccb88b5f6
Auto-generated-cl: translation import
2014-11-24 07:50:47 -08:00
Geoff Mendal 7c4f3f4ea2 Import translations. DO NOT MERGE
Change-Id: Ie03e186016b62bf0d758dd25ee820e6180944e02
Auto-generated-cl: translation import
2014-11-24 07:49:06 -08:00
Geoff Mendal 909e5628ef Import translations. DO NOT MERGE
Change-Id: I3a0eb63a15ceb2330de6558bf3cb93987ee753af
Auto-generated-cl: translation import
2014-11-24 07:47:05 -08:00
Geoff Mendal eaee40e223 Import translations. DO NOT MERGE
Change-Id: I58dc523d0cc2eed8750d877e44556b5c97767540
Auto-generated-cl: translation import
2014-11-24 07:45:58 -08:00
Geoff Mendal 0791009872 Import translations. DO NOT MERGE
Change-Id: Ice840a82a58fc65860512fdcfd3a5ef29e3a0a6c
Auto-generated-cl: translation import
2014-11-24 07:44:49 -08:00
Tadashi G. Takaoka fceaf01e5a am 61f88e3f: (-s ours) am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit '61f88e3fc795b6e7236a3344af6163c35ff25b0a':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:13:21 +00:00
Tadashi G. Takaoka 61f88e3fc7 am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit 'b348d9cc578c5ab5dca7bece16901296fd7e0e4c':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:09:23 +00:00
Tadashi G. Takaoka b348d9cc57 am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit '943db315f55db7ef86dc0f78b6354238422039d8':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:04:06 +00:00
Tadashi G. Takaoka a414b81a6c Remove unused code from DictionaryFactory
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
2014-11-21 17:58:50 +09:00
Tadashi G. Takaoka 943db315f5 (DO NOT MERGE) Fix Greek accented upper case letters
Cherry-picked 6fc92899d82f4d3cb30f7bb2c57133154f0babd2 from
ub-latinimegoogle-edamame-mr1-release.

Bug: 18418991
Change-Id: Id4dff41ba488635ff9af899be6d4f84ab00a96c8
2014-11-21 15:14:46 +09:00
Tadashi G. Takaoka 8a711f2a54 Remove unneeded Context argument
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
2014-11-21 12:49:04 +09:00
Tadashi G. Takaoka 53b6d627e7 Refactor PointerTracker and MainKeyboardView
This CL reorganize the key press/release state visual drawing code.

Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Keisuke Kuroyanagi 1f8d4f47e4 Implement ArgumentsParser::parseArguments and add tests.
Bug: 10059681
Change-Id: I6511a46c879d7a52d0bb4fcab445a66bc40db98c
2014-11-21 12:25:30 +09:00
Tadashi G. Takaoka ebe5b42f71 Make LocaleUtils.constructLocaleFromString as @Nonnull
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00
Jean Chalard 4195567d24 Merge "Annotate the typed word with its source dictionary" 2014-11-20 09:49:18 +00:00
Jean Chalard a7efe06208 Annotate the typed word with its source dictionary
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
2014-11-20 18:31:01 +09:00
Tadashi G. Takaoka f8705dd2bd Fix unit test failure due to translation glitch
Once the translation strings are updated, the uni test starts
failing. Then this CL should be reverted.

Change-Id: I884663feaa53998a98dd0e488ae8e3e6d0ad4ffd
2014-11-20 17:05:21 +09:00
Tadashi G. Takaoka a66069abd8 Fix possible NPE in MainKeyboardView
Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
2014-11-20 15:07:28 +09:00
Jean Chalard a94733cbca Fix an NPE.
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard 1d80cb2301 Merge "Fix a NPE" 2014-11-20 05:28:47 +00:00
Jean Chalard a2cb2f36a6 Make the typed word a SuggestedWordInfo
That allows to carry the language information in an
accurate manner.

Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
2014-11-20 13:57:01 +09:00
Jean Chalard 0e00f5fe3a Fix a NPE
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
2014-11-20 13:50:27 +09:00
Geoff Mendal 7cca01aa1d Merge "Import translations. DO NOT MERGE" 2014-11-19 17:51:56 +00:00
Geoff Mendal 317291f1ce Import translations. DO NOT MERGE
Change-Id: Ia452550ea624897c092ef024c1d8b0dad4eabacf
Auto-generated-cl: translation import
2014-11-19 09:45:03 -08:00
Geoff Mendal dc7485f5cb Import translations. DO NOT MERGE
Change-Id: Iddd628f70020ed3bf60baa4331418b91f3920eb3
Auto-generated-cl: translation import
2014-11-19 09:41:07 -08:00
Tadashi G. Takaoka 59867a8fdb Merge "Cleanup StringAndJsonUtilsTests" 2014-11-19 10:26:44 +00:00
Jean Chalard 8736f2d719 Merge "Fix oscillations on ICS" 2014-11-19 10:23:28 +00:00
Jean Chalard 9444d70514 Fix oscillations on ICS
Bug: 18181427
Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
2014-11-19 19:22:04 +09:00
Tadashi G. Takaoka cae324c561 Cleanup StringAndJsonUtilsTests
Change-Id: I7d35492c439c9419915251387b0c12e205740586
2014-11-19 19:08:13 +09:00
Tadashi G. Takaoka 6c47403e27 Rename StringUtils methods that handle title case manipulation
Change-Id: Iee0dd077a0423f110f4f8dad0f04933045baef2a
2014-11-19 19:08:05 +09:00
Tadashi G. Takaoka 0cf0bfaa75 Merge "Fix Greek accented upper case letters" 2014-11-19 09:29:20 +00:00
Tadashi G. Takaoka f62b5d633d Fix Greek accented upper case letters
Bug: 18418991
Change-Id: I7b34b126bec70300c83e17bea39e1036de4bf7c2
2014-11-19 17:57:10 +09:00
Jean Chalard a39ecd071c Merge "Fix the base character of D with stroke" 2014-11-19 08:30:34 +00:00
Jean Chalard fde0cce103 Merge "Remove the other deprecated constructor to SuggestedWords" 2014-11-19 08:30:03 +00:00
Jean Chalard 2a3ed8c988 Fix the base character of D with stroke
Bug: 18436480
Change-Id: Ic92cae7c85c07c8f62a5b6e69d2b71e204aff50d
2014-11-19 17:26:00 +09:00
Tadashi G. Takaoka b9116af29f Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
2014-11-19 11:57:49 +09:00