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.java201 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/
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()