Searched refs:MAX_PROBABILITY (Results 1 – 6 of 6) sorted by relevance
94 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()
44 const float stepSize = static_cast<float>(MAX_PROBABILITY - unigramProbability) in computeProbabilityForBigram()
79 const float cost = static_cast<float>(MAX_PROBABILITY - probability) in getBigramNodeImprobability()80 / static_cast<float>(MAX_PROBABILITY); in getBigramNodeImprobability()
325 #define MAX_PROBABILITY 255 macro
302 false /* isBlacklisted */, MAX_PROBABILITY /* probability */, in addNgramEntry()
290 false /* isBlacklisted */, MAX_PROBABILITY /* probability */, in addNgramEntry()