Searched refs:contextCount (Results 1 – 2 of 2) sorted by relevance
31 static float computeRawProbabilityFromCounts(const int count, const int contextCount, in computeRawProbabilityFromCounts() argument34 return static_cast<float>(count) / static_cast<float>(std::max(contextCount, minCount)); in computeRawProbabilityFromCounts()
76 int contextCount = 0; in getWordAttributes() local79 contextCount = mGlobalCounters.getTotalCount(); in getWordAttributes()91 contextCount = prevWordProbabilityEntry.getHistoricalInfo()->getCount(); in getWordAttributes()96 historicalInfo->getCount(), contextCount, ngramType); in getWordAttributes()