aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-06-02 18:30:27 +0900
committersatok <satok@google.com>2010-06-02 19:18:22 +0900
commit4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1 (patch)
tree39acf8d13039453bb57c0aeaecaeaab26df0522a /java/src/com/android/inputmethod/latin/Dictionary.java
parent7f96616c7595c69ea6ce9192d869a0c40ddb752e (diff)
downloadlatinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.tar.gz
latinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.tar.xz
latinime-4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1.zip
Check suggested words whether they are from mainDic or not
- Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
Diffstat (limited to '')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index e7b526663..e38a32fa1 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -45,9 +45,10 @@ abstract public class Dictionary {
* @param wordLength length of valid characters in the character array
* @param frequency the frequency of occurence. This is normalized between 1 and 255, but
* can exceed those limits
+ * @param dicTypeId of the dictionary where word was from
* @return true if the word was added, false if no more words are required
*/
- boolean addWord(char[] word, int wordOffset, int wordLength, int frequency);
+ boolean addWord(char[] word, int wordOffset, int wordLength, int frequency, int dicTypeId);
}
/**