Searched refs:getBigramProbability (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 201 private static int getBigramProbability(final BinaryDictionary binaryDictionary, in getBigramProbability() method in BinaryDictionaryTests 279 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "aaa", "abb")); in testAddBigramWords() 280 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "aaa", "bcc")); in testAddBigramWords() 281 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abb", "aaa")); in testAddBigramWords() 282 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abb", "bcc")); in testAddBigramWords() 286 getBigramProbability(binaryDictionary, "aaa", "abb")); in testAddBigramWords() 292 getBigramProbability(binaryDictionary, "bcc", "aaa")); in testAddBigramWords() 294 getBigramProbability(binaryDictionary, "bcc", "bbc")); in testAddBigramWords() 296 getBigramProbability(binaryDictionary, "aaa", "aaa")); in testAddBigramWords() 306 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abcde", "fghij")); in testAddBigramWords() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | multi_bigram_map.cpp | 36 int MultiBigramMap::getBigramProbability( in getBigramProbability() function in latinime::MultiBigramMap 45 return mapPosition->second.getBigramProbability(structurePolicy, nextWordId, in getBigramProbability() 50 return mBigramMaps[prevWordIds[0]].getBigramProbability(structurePolicy, in getBigramProbability() 63 int MultiBigramMap::BigramMap::getBigramProbability( in getBigramProbability() function in latinime::MultiBigramMap::BigramMap
|
D | multi_bigram_map.h | 42 int getBigramProbability(const DictionaryStructureWithBufferPolicy *const structurePolicy, 62 int getBigramProbability(
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 303 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 127 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext()
|