Searched refs:getBigramProbability (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 215 private static int getBigramProbability(final BinaryDictionary binaryDictionary, in getBigramProbability() method in BinaryDictionaryTests 296 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "aaa", "abb")); in testAddBigramWords() 297 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "aaa", "bcc")); in testAddBigramWords() 298 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abb", "aaa")); in testAddBigramWords() 299 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abb", "bcc")); in testAddBigramWords() 303 getBigramProbability(binaryDictionary, "aaa", "abb")); in testAddBigramWords() 309 getBigramProbability(binaryDictionary, "bcc", "aaa")); in testAddBigramWords() 311 getBigramProbability(binaryDictionary, "bcc", "bbc")); in testAddBigramWords() 313 getBigramProbability(binaryDictionary, "aaa", "aaa")); in testAddBigramWords() 323 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()
|