Home
last modified time | relevance | path

Searched refs:MAX_PROBABILITY (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
Dforgetting_curve_utils.cpp94 return std::min(backoff(unigramProbability), MAX_PROBABILITY); in getProbability()
98 bigramProbability + MULTIPLIER_TWO_IN_PROBABILITY_SCALE), MAX_PROBABILITY); in getProbability()
214 std::min(std::max(static_cast<int>(probability), 1), MAX_PROBABILITY); in ProbabilityTable()
Dprobability_utils.h44 const float stepSize = static_cast<float>(MAX_PROBABILITY - unigramProbability) in computeProbabilityForBigram()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_utils.cpp79 const float cost = static_cast<float>(MAX_PROBABILITY - probability) in getBigramNodeImprobability()
80 / static_cast<float>(MAX_PROBABILITY); in getBigramNodeImprobability()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h325 #define MAX_PROBABILITY 255 macro
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp302 false /* isBlacklisted */, MAX_PROBABILITY /* probability */, in addNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp290 false /* isBlacklisted */, MAX_PROBABILITY /* probability */, in addNgramEntry()