Home
last modified time | relevance | path

Searched refs:ngramProbability (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h37 static float backoff(const int ngramProbability, const NgramType ngramType) { in backoff() argument
39 ngramProbability + ENCODED_BACKOFF_WEIGHTS[static_cast<int>(ngramType)]; in backoff()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmulti_bigram_map.cpp76 void MultiBigramMap::BigramMap::onVisitEntry(const int ngramProbability, const int targetWordId) { in onVisitEntry() argument
80 mBigramMap[targetWordId] = ngramProbability; in onVisitEntry()
Dmulti_bigram_map.h65 virtual void onVisitEntry(const int ngramProbability, const int targetWordId);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp67 void Dictionary::NgramListenerForPrediction::onVisitEntry(const int ngramProbability, in onVisitEntry() argument
73 && ngramProbability == NOT_A_PROBABILITY) { in onVisitEntry()
Ddictionary.h129 virtual void onVisitEntry(const int ngramProbability, const int targetWordId);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Dngram_listener.h31 virtual void onVisitEntry(const int ngramProbability, const int targetWordId) = 0;