Home
last modified time | relevance | path

Searched refs:prevWordLength (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/
Dbigram_dictionary.cpp101 int BigramDictionary::getBigrams(const int32_t *prevWord, int prevWordLength, int *codes, in getBigrams() argument
112 int pos = getBigramListPositionForWord(prevWord, prevWordLength); in getBigrams()
147 const int prevWordLength) { in getBigramListPositionForWord() argument
148 if (0 >= prevWordLength) return 0; in getBigramListPositionForWord()
150 int pos = BinaryFormat::getTerminalPosition(root, prevWord, prevWordLength); in getBigramListPositionForWord()
167 const int prevWordLength, std::map<int, int> *map, uint8_t *filter) { in fillBigramAddressToFrequencyMapAndFilter() argument
170 int pos = getBigramListPositionForWord(prevWord, prevWordLength); in fillBigramAddressToFrequencyMapAndFilter()
Dbigram_dictionary.h33 int getBigramListPositionForWord(const int32_t *prevWord, const int prevWordLength);
34 void fillBigramAddressToFrequencyMapAndFilter(const int32_t *prevWord, const int prevWordLength,
Ddictionary.h38 int *codes, int codesSize, const int32_t* prevWordChars, const int prevWordLength, in getSuggestions() argument
43 prevWordLength, &bigramMap, bigramFilter); in getSuggestions()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp143 jsize prevWordLength = prevWordChars ? env->GetArrayLength(prevWordForBigrams) : 0; in latinime_BinaryDictionary_getSuggestions() local
145 arraySize, prevWordChars, prevWordLength, useFullEditDistance, in latinime_BinaryDictionary_getSuggestions()
159 jintArray prevWordArray, jint prevWordLength, jintArray inputArray, jint inputArraySize, in latinime_BinaryDictionary_getBigrams() argument
167 int count = dictionary->getBigrams(prevWord, prevWordLength, inputCodes, in latinime_BinaryDictionary_getBigrams()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java92 private native int getBigramsNative(long dict, int[] prevWord, int prevWordLength, in getBigramsNative() argument