Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java215 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/
Dmulti_bigram_map.cpp36 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
Dmulti_bigram_map.h42 int getBigramProbability(const DictionaryStructureWithBufferPolicy *const structurePolicy,
62 int getBigramProbability(
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp303 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp127 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext()