Home
last modified time | relevance | path

Searched refs:contextCount (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h31 static float computeRawProbabilityFromCounts(const int count, const int contextCount, in computeRawProbabilityFromCounts() argument
34 return static_cast<float>(count) / static_cast<float>(std::max(contextCount, minCount)); in computeRawProbabilityFromCounts()
Dlanguage_model_dict_content.cpp76 int contextCount = 0; in getWordAttributes() local
79 contextCount = mGlobalCounters.getTotalCount(); in getWordAttributes()
91 contextCount = prevWordProbabilityEntry.getHistoricalInfo()->getCount(); in getWordAttributes()
96 historicalInfo->getCount(), contextCount, ngramType); in getWordAttributes()