Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmulti_bigram_map.cpp43 const auto mapPosition = mBigramMaps.find(prevWordIds[0]); in getBigramProbability()
44 if (mapPosition != mBigramMaps.end()) { in getBigramProbability()
48 if (mBigramMaps.size() < MAX_CACHED_PREV_WORDS_IN_BIGRAM_MAP) { in getBigramProbability()
50 return mBigramMaps[prevWordIds[0]].getBigramProbability(structurePolicy, in getBigramProbability()
87 mBigramMaps[prevWordIds[0]].init(structurePolicy, prevWordIds); in addBigramsForWord()
Dmulti_bigram_map.h37 MultiBigramMap() : mBigramMaps() {} in MultiBigramMap()
46 mBigramMaps.clear(); in clear()
81 std::unordered_map<int, BigramMap> mBigramMaps; variable