Fix build failure by adding an input
Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5
This commit is contained in:
parent
b9c57e6540
commit
7ff4da9489
1 changed files with 5 additions and 3 deletions
|
@ -92,7 +92,8 @@ public class BinaryDictionary extends Dictionary {
|
|||
mDicTypeId = dicTypeId;
|
||||
}
|
||||
|
||||
private native int openNative(ByteBuffer bb, int typedLetterMultiplier, int fullWordMultiplier);
|
||||
private native int openNative(ByteBuffer bb, int typedLetterMultiplier,
|
||||
int fullWordMultiplier);
|
||||
private native void closeNative(int dict);
|
||||
private native boolean isValidWordNative(int nativeData, char[] word, int wordLength);
|
||||
private native int getSuggestionsNative(int dict, int[] inputCodes, int codesSize,
|
||||
|
@ -146,7 +147,7 @@ public class BinaryDictionary extends Dictionary {
|
|||
}
|
||||
if (len > 0) {
|
||||
callback.addWord(mOutputChars_bigrams, start, len, mFrequencies_bigrams[j],
|
||||
DataType.BIGRAM);
|
||||
mDicTypeId, DataType.BIGRAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -196,7 +197,8 @@ public class BinaryDictionary extends Dictionary {
|
|||
len++;
|
||||
}
|
||||
if (len > 0) {
|
||||
callback.addWord(mOutputChars, start, len, mFrequencies[j], mDicTypeId, DataType.UNIGRAM);
|
||||
callback.addWord(mOutputChars, start, len, mFrequencies[j], mDicTypeId,
|
||||
DataType.UNIGRAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue