Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp104 return getNgramProbability(nullptr /* ngramContext */, codePoints); in getProbability()
113 int Dictionary::getNgramProbability(const NgramContext *const ngramContext, in getNgramProbability() function in latinime::Dictionary
Ddictionary.h81 int getNgramProbability(const NgramContext *const ngramContext,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java217 return binaryDictionary.getNgramProbability(new NgramContext(new WordInfo(word0)), word1); in getBigramProbability()
222 return binaryDictionary.getNgramProbability( in getTrigramProbability()
901 binaryDictionary.getNgramProbability(beginningOfSentenceContext, "aaa")); in testBeginningOfSentence()
909 binaryDictionary.getNgramProbability(beginningOfSentenceContext, "aaa")); in testBeginningOfSentence()
911 binaryDictionary.getNgramProbability(beginningOfSentenceContext, "bbb")); in testBeginningOfSentence()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java376 return getNgramProbability(ngramContext, word) != NOT_A_PROBABILITY; in isValidNgram()
379 public int getNgramProbability(final NgramContext ngramContext, final String word) { in getNgramProbability() method in BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp295 return dictionary->getNgramProbability(&ngramContext, in latinime_BinaryDictionary_getNgramProbability()