aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-06-25 17:44:54 +0900
committerSatoshi Kataoka <satok@google.com>2012-06-25 18:54:37 +0900
commit73680097996ea2ddbca3f84144a00ce3ba66b763 (patch)
tree272b76e954e2a39c1a1fa37092f1f51fecbf9119 /java/src/com/android/inputmethod/latin/Dictionary.java
parent5a73d72265b22a0832fb9faa2c835ba55aa0b932 (diff)
downloadlatinime-73680097996ea2ddbca3f84144a00ce3ba66b763.tar.gz
latinime-73680097996ea2ddbca3f84144a00ce3ba66b763.tar.xz
latinime-73680097996ea2ddbca3f84144a00ce3ba66b763.zip
Change JNI for Gesture
Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index 9c3d46e70..c75e55d80 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -41,6 +41,7 @@ public abstract class Dictionary {
* Adds a word to a list of suggestions. The word is expected to be ordered based on
* the provided score.
* @param word the character array containing the word
+ * @param spaceIndices the indices of inserted spaces
* @param wordOffset starting offset of the word in the character array
* @param wordLength length of valid characters in the character array
* @param score the score of occurrence. This is normalized between 1 and 255, but
@@ -49,8 +50,8 @@ public abstract class Dictionary {
* @param dataType tells type of this data, either UNIGRAM or BIGRAM
* @return true if the word was added, false if no more words are required
*/
- boolean addWord(char[] word, int wordOffset, int wordLength, int score, int dicTypeId,
- int dataType);
+ boolean addWord(char[] word, int[] spaceIndices, int wordOffset, int wordLength, int score,
+ int dicTypeId, int dataType);
}
/**