Searched refs:getNgramProbability (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 104 return getNgramProbability(nullptr /* ngramContext */, codePoints); in getProbability() 113 int Dictionary::getNgramProbability(const NgramContext *const ngramContext, in getNgramProbability() function in latinime::Dictionary
|
D | dictionary.h | 81 int getNgramProbability(const NgramContext *const ngramContext,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 217 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/ |
D | BinaryDictionary.java | 376 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/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 295 return dictionary->getNgramProbability(&ngramContext, in latinime_BinaryDictionary_getNgramProbability()
|