Home
last modified time | relevance | path

Searched defs:ngramType (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dentry_counters.h35 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()
Dforgetting_curve_utils.cpp130 for (const auto ngramType : AllNgramTypes::ASCENDING) { in needsToDecay() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.cpp128 int getIndexFromNgramType(const NgramType ngramType) { in getIndexFromNgramType()
137 for (const auto ngramType : AllNgramTypes::ASCENDING) { in fillInHeader() local
164 for (const auto ngramType : AllNgramTypes::ASCENDING) { in readNgramCounts() local
174 for (const auto ngramType : AllNgramTypes::ASCENDING) { in readMaxNgramCounts() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h32 const NgramType ngramType) { in computeRawProbabilityFromCounts()
37 static float backoff(const int ngramProbability, const NgramType ngramType) { in backoff()
Dlanguage_model_dict_content.cpp93 const NgramType ngramType = NgramUtils::getNgramTypeFromWordCount(i + 1); in getWordAttributes() local
203 const NgramType ngramType = NgramUtils::getNgramTypeFromWordCount(totalWordCount); in truncateEntries() local