diff options
author | 2010-06-28 16:31:12 -0400 | |
---|---|---|
committer | 2010-06-29 09:52:48 -0400 | |
commit | 57691a35743e3705abe60db4902f9ad3c0e722d8 (patch) | |
tree | 4bece36f1283c4cd1105302e51d629c3449ed6dd /java/src/com/android/inputmethod/voice/VoiceInput.java | |
parent | c9e24b80ab80b808b72a3f65dcab4e271436f67b (diff) | |
download | latinime-57691a35743e3705abe60db4902f9ad3c0e722d8.tar.gz latinime-57691a35743e3705abe60db4902f9ad3c0e722d8.tar.xz latinime-57691a35743e3705abe60db4902f9ad3c0e722d8.zip |
Show word alternatives for spoken input
With this change, we show alternatives for a word that has
been spoken.The user triggers the display of alternatives by
tapping on the word. The alternatives are currently
generated by a client-side algorithm, but will be improved
when we move to a server-side generation of the alternatives
Change-Id: I454ee28fef9bf97a1b026ce8c605ca4badb39e79
Diffstat (limited to 'java/src/com/android/inputmethod/voice/VoiceInput.java')
-rw-r--r-- | java/src/com/android/inputmethod/voice/VoiceInput.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/voice/VoiceInput.java b/java/src/com/android/inputmethod/voice/VoiceInput.java index ac06ab50d..354670969 100644 --- a/java/src/com/android/inputmethod/voice/VoiceInput.java +++ b/java/src/com/android/inputmethod/voice/VoiceInput.java @@ -63,7 +63,7 @@ public class VoiceInput implements OnClickListener { // WARNING! Before enabling this, fix the problem with calling getExtractedText() in // landscape view. It causes Extracted text updates to be rejected due to a token mismatch - public static boolean ENABLE_WORD_CORRECTIONS = false; + public static boolean ENABLE_WORD_CORRECTIONS = true; // Dummy word suggestion which means "delete current word" public static final String DELETE_SYMBOL = " \u00D7 "; // times symbol @@ -308,7 +308,7 @@ public class VoiceInput implements OnClickListener { SettingsUtil.getSettingsInt( mContext.getContentResolver(), SettingsUtil.LATIN_IME_MAX_VOICE_RESULTS, - 1)); + 10)); // Get endpointer params from Gservices. // TODO: Consider caching these values for improved performance on slower devices. |