Commit graph

38201 commits

Author SHA1 Message Date
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
adb4f0ed20 am 20da4f07: Merge "Use enum to specify ngram type."
* commit '20da4f07be9cdf58835a79e619785b4cafd428ff':
  Use enum to specify ngram type.
2014-11-25 10:39:04 +00: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
5af54d904a am b479a56f: Merge "Add confidence."
* commit 'b479a56f281d7b20abbb05369a5d6d0a6ce9dc67':
  Add confidence.
2014-11-25 06:25:17 +00: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
58f5e62ba8 am 8e327009: Merge "Refactor PointerTracker and MainKeyboardView"
* commit '8e3270091409ac7c1f9d960f5023d4ddf5f46114':
  Refactor PointerTracker and MainKeyboardView
2014-11-25 02:13:23 +00:00
Tadashi G. Takaoka
8e32700914 Merge "Refactor PointerTracker and MainKeyboardView" 2014-11-25 02:09:25 +00:00
Keisuke Kuroyanagi
7f372d5781 am 62ac89e1: Merge "Implement ArgumentsParser::parseArguments and add tests."
* commit '62ac89e149b6e2275344f5cbf9bb4549f2e3c49e':
  Implement ArgumentsParser::parseArguments and add tests.
2014-11-25 01:38:44 +00:00
Keisuke Kuroyanagi
62ac89e149 Merge "Implement ArgumentsParser::parseArguments and add tests." 2014-11-25 01:35:30 +00:00
The Android Automerger
d1ecca0b4d merge in ub-latinimegoogle-fava-release history after reset to af204539c3 2014-11-24 19:00:22 +00:00
Geoff Mendal
d46a5ea667 am dd01ed3a: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'dd01ed3af878e041a515ba3288964a2e96526bcd':
  Import translations. DO NOT MERGE
2014-11-24 18:10:03 +00:00
Geoff Mendal
131b57abdf am e6e35472: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'e6e354720ce637bbaa2058ec0c766662e433ca91':
  Import translations. DO NOT MERGE
2014-11-24 18:06:36 +00:00
Geoff Mendal
33dd99158b am 7c2da981: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '7c2da981de0ea4766e5ddff1c57152a038a77106':
  Import translations. DO NOT MERGE
2014-11-24 18:06:34 +00:00
Geoff Mendal
28a7650e3d am e40a068c: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'e40a068cee68c575114269752810164e57d69b2f':
  Import translations. DO NOT MERGE
2014-11-24 18:06:32 +00:00
Geoff Mendal
0b9c5791e1 am 07910098: (-s ours) Import translations. DO NOT MERGE
* commit '0791009872daf2d92f09f960bee06d69d728dc07':
  Import translations. DO NOT MERGE
2014-11-24 18:06: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
7fe02760e0 Import translations. DO NOT MERGE
Change-Id: I33f6c84de126d8fbec55a0093cc9d5c87e035a7b
Auto-generated-cl: translation import
2014-11-24 07:49:46 -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
af204539c3 Import translations. DO NOT MERGE
Change-Id: Ic96fae7d192e2994698f1b48d0f8f07ba52607e7
Auto-generated-cl: translation import
2014-11-24 07:48:25 -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
b55ce99d37 am fceaf01e: (-s ours) am 61f88e3f: (-s ours) am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit 'fceaf01e5a11b35aacd084196ebef6ecae8d6ddf':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:17:39 +00: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
e757c9605f am 8a711f2a: Remove unneeded Context argument
* commit '8a711f2a547a61b9f4f3ef3bdb79a66b618db58f':
  Remove unneeded Context argument
2014-11-21 03:59:48 +00: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
9e13e83b25 am 4195567d: Merge "Annotate the typed word with its source dictionary"
* commit '4195567d24e89b36d23fac89a01ca9459d5b7c47':
  Annotate the typed word with its source dictionary
2014-11-20 09:56:02 +00:00
Tadashi G. Takaoka
481d7f8def am f8705dd2: Fix unit test failure due to translation glitch
* commit 'f8705dd2bdb9aeb61860e6a0125102afc63a351d':
  Fix unit test failure due to translation glitch
2014-11-20 09:56:00 +00: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
c4b2322970 am a94733cb: Fix an NPE.
* commit 'a94733cbca5bc3544fa73fa1649bbb1dadf31356':
  Fix an NPE.
2014-11-20 05:53:43 +00:00
Jean Chalard
a94733cbca Fix an NPE.
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard
d0fea7bebf am 1d80cb23: Merge "Fix a NPE"
* commit '1d80cb230180305a173add2fe30b14cefc597126':
  Fix a NPE
2014-11-20 05:32:03 +00:00