Searched defs:ngramType (Results 1 – 5 of 5) sorted by relevance
35 int getNgramCount(const NgramType ngramType) const { in getNgramCount()65 void incrementNgramCount(const NgramType ngramType) { in incrementNgramCount()69 void decrementNgramCount(const NgramType ngramType) { in decrementNgramCount()73 int getNgramCount(const NgramType ngramType) const { in getNgramCount()77 void setNgramCount(const NgramType ngramType, const int count) { in setNgramCount()
130 for (const auto ngramType : AllNgramTypes::ASCENDING) { in needsToDecay() local
128 int getIndexFromNgramType(const NgramType ngramType) { in getIndexFromNgramType()137 for (const auto ngramType : AllNgramTypes::ASCENDING) { in fillInHeader() local164 for (const auto ngramType : AllNgramTypes::ASCENDING) { in readNgramCounts() local174 for (const auto ngramType : AllNgramTypes::ASCENDING) { in readMaxNgramCounts() local
32 const NgramType ngramType) { in computeRawProbabilityFromCounts()37 static float backoff(const int ngramProbability, const NgramType ngramType) { in backoff()
93 const NgramType ngramType = NgramUtils::getNgramTypeFromWordCount(i + 1); in getWordAttributes() local203 const NgramType ngramType = NgramUtils::getNgramTypeFromWordCount(totalWordCount); in truncateEntries() local