Keisuke Kuroyanagi
bd1f59bda5
Remove PrevWordsInfo.getBigramsIteratorForPrediction().
...
This changes the behavior of predictions for some rare cases.
For example, let's consider the case of the prev word is
"ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have
any bigrams, and "abc" has bigrams.
Without this change, "abc"'s bigrams are used for
prediction. But, with this change, "abc"'s bigrams are not
used for prediction. This strategy is the same as the the
current way of bigram probability computation during
traversal (for suggestion).
Bug: 14425059
Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48
2014-07-30 17:26:26 +09:00
Keisuke Kuroyanagi
2d57b3339a
Add a method to iterate ngram entries.
...
Bug: 14425059
Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
2014-07-30 10:52:56 +09:00
Ken Wakasa
c4f6fc1e48
Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
4399849dea
Revert "[HW6] Split processing and applying the event."
...
This reverts commit 1db3d860ca
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
2014-07-30 00:55:49 +00:00
Jean Chalard
1db3d860ca
[HW6] Split processing and applying the event.
...
If anyone has better names for those...
Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29 17:40:48 +09:00
Keisuke Kuroyanagi
179f38cc8c
Merge "Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()" into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
96d47fe745
Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()
...
Bug: 14425059
Change-Id: I92403d750d2979408b41554dcd79b0ed31b41161
2014-07-29 11:35:57 +09:00
Tadashi G. Takaoka
ab661e3ef8
Make "Show correction suggestions" as a binary option
...
Formerly "Show correction suggestions" had three options, "always
show", "show in portrait mode", and "always hide". The reason behind
"show in portrait mode" was that there may not be enough screen estate
in landscape mode to show suggestions. Because recent phone devices
have relatively large screen, we decide to remove "show in portrait
mode" option.
Bug: 15780939
Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-07-27 14:47:07 +09:00
Jean Chalard
76ad259764
Merge "Improve the russian dictionary." into lmp-dev
2014-07-25 11:19:20 +00:00
Jean Chalard
ae41058659
Improve the russian dictionary.
...
Deleted: 38 words
Probability adjusted: 11 words
Added: 1299 words
[Category diff]
+1 15
-1 0
+2 0
-2 0
+3 0
-3 0
+4 0
-4 0
+5 0
-5 3
+6 1
-6 0
+7 0
-7 13
[Weighted category diff]
+1 15
-1 0
+2 0
-2 0
+3 0
-3 0
+4 0
-4 0
+5 0
-5 3
+6 1
-6 0
+7 0
-7 13
Change-Id: I1a6513954d60b30738cb849578ce535c5e05eb1a
2014-07-29 13:31:23 +09:00
Tadashi G. Takaoka
76cffec788
Show "navigate up" icon on settings activity
...
Bug: 15813742
Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-29 12:05:48 +09:00
Jean Chalard
036b83f4c4
Merge "Wait for an event before actually realizing it" into lmp-dev
2014-07-25 11:19:20 +00:00
Jean Chalard
3d951c1eff
Wait for an event before actually realizing it
...
This would wrongly emit a 'timeout' log entry when switching
between two instances of the same language.
Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
2014-07-28 19:33:49 +09:00
Ken Wakasa
9fbeeb609f
Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
bfa6f9533c
Revert "[HW7] Introduce consumed events"
...
This reverts commit 99aff0af98
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: Id41d802981d079f17134a03cc30ab36a3cdd4ac1
2014-07-30 00:53:24 +00:00
Jean Chalard
99aff0af98
[HW7] Introduce consumed events
...
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29 17:49:14 +09:00
Tadashi G. Takaoka
8ca3eb67d2
Merge "Update Material icons and backgrounds" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
e14c680078
Update Material icons and backgrounds
...
Bug: 16143083
Change-Id: I6396f725b30e9ef6fa7964a0c9d7eb6d1d97e376
2014-07-29 11:32:04 +09:00
Keisuke Kuroyanagi
c6862ee699
Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
d9a8f2a82f
Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
...
Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
2014-07-28 21:48:02 +09:00
Keisuke Kuroyanagi
3225b6fe66
Add boundary check for ver2 bigram reading.
...
Bug: 16330528
Change-Id: I6aca6c7a735e2a652eb325572d44dff660789cff
2014-07-28 21:48:00 +09:00
Tadashi G. Takaoka
1e491d90f9
Merge "Use fragment for advanced preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
9bdcb13160
Use fragment for advanced preference screen
...
Bug: 16522808
Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
2014-07-28 19:24:41 +09:00
Ken Wakasa
2ce8799fa8
Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
76fc4914b3
Revert "[HW8] Pull up the processed event."
...
This reverts commit ebdd641d58
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: Ie7958d749dc813c1752d03aec7f14f5586225ff7
2014-07-30 00:31:57 +00:00
Jean Chalard
ebdd641d58
[HW8] Pull up the processed event.
...
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29 17:49:24 +09:00
Jean Chalard
60a2cd8ac4
[HW7.5] Introduce the @Nonnull annotation
...
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29 17:49:19 +09:00
Keisuke Kuroyanagi
6850ea0ee5
Merge "Add boundary check for ver2 bigram reading." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
fb15b768dd
Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
79ff803cb0
Fix NPE when context.getFilesDir() returns null.
...
Bug: 16416948
Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
2014-07-28 19:25:07 +09:00
Tadashi G. Takaoka
9ba854133c
Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
99295c8c5f
Refactor Debug settings to use SubScreenFragment
...
Bug: 16522808
Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
2014-07-28 19:16:42 +09:00
Tadashi G. Takaoka
00b49cad9c
Use fragment for text correction preference screen
...
Bug: 16522808
Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
2014-07-28 17:48:49 +09:00
Tadashi G. Takaoka
3c8a075a58
Use fragment for gesture typing preference screen
...
Bug: 16522808
Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
2014-07-28 17:45:41 +09:00
Tadashi G. Takaoka
6b71530017
Use fragment for multi lingual preference screen
...
Bug: 16522808
Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
2014-07-28 17:20:16 +09:00
Tadashi G. Takaoka
bfcd98edc7
Use fragment for input preference screen
...
This CL introduces a common abstract class, SunScreenFragment, for
PreferenceFragment that implements a PreferenceScreen of the main
settings preference screen.
Bug: 16522808
Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
2014-07-27 16:06:52 +09:00
Ken Wakasa
dc0c3e1e2a
Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
e2397e54c6
Revert "[HW9] Pull the processed event further."
...
This reverts commit a8d80ec012
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I3f49b54f34d875e8986d6ddc2523ab0b706dc6f2
2014-07-30 00:31:12 +00:00
Jean Chalard
a8d80ec012
[HW9] Pull the processed event further.
...
The 'processedEvent' variables will ultimately disappear entirely.
Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29 18:38:49 +09:00
Ken Wakasa
e8ca3f4091
Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev
2014-07-25 11:19:20 +00:00
Ken Wakasa
79fd911c8d
Revert "[HW10] Pull the processed event in its eventual place"
...
This reverts commit bcb61da581
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-30 00:29:41 +00:00
Ying Wang
ece7240c7a
Don't build dicttool unless it's explicitly requested.
...
It easily breaks the checkbuild.
Change-Id: I43b35fade550ff9d64782ea43cb6e3a804424830
2014-07-29 10:46:38 -07:00
Jean Chalard
bcb61da581
[HW10] Pull the processed event in its eventual place
...
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29 18:48:13 +09:00
Jean Chalard
312c9498be
Merge "[HW8] Pull up the processed event." into lmp-dev
2014-07-25 11:19:20 +00:00
Tadashi G. Takaoka
633f1a5e6e
Merge "Use fragment for text correction preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
666f1b384f
Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
8aa74da98d
Revert "[HW7.5] Introduce the @Nonnull annotation"
...
This reverts commit 60a2cd8ac4
.
Reverting due to build breakage under the unbundled branch.
Change-Id: Iab2988c53884166f62c95da920ac7a7079a0e5a0
2014-07-29 15:43:59 +00:00
Jean Chalard
3c7cb5234f
Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
3042452170
Merge "[HW7] Introduce consumed events" into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
6c3b0d3caa
Merge "Add TrieMap." into lmp-dev
2014-07-25 11:19:20 +00:00