Home
last modified time | relevance | path

Searched refs:getNgramCount (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp56 "extendedRegionSize: %d", false, entryCounts.getNgramCount(NgramType::Unigram), in writeToDictFile()
57 entryCounts.getNgramCount(NgramType::Bigram), extendedRegionSize); in writeToDictFile()
112 const int maxUnigramCount = headerPolicy->getMaxNgramCounts().getNgramCount(NgramType::Unigram); in runGC()
129 const int maxBigramCount = headerPolicy->getMaxNgramCounts().getNgramCount(NgramType::Bigram); in runGC()
Dver4_patricia_trie_policy.cpp529 mEntryCounters.getNgramCount(NgramType::Unigram)); in getProperty()
531 snprintf(outResult, maxResultLength, "%d", mEntryCounters.getNgramCount(NgramType::Bigram)); in getProperty()
536 mHeaderPolicy->getMaxNgramCounts().getNgramCount( in getProperty()
543 mHeaderPolicy->getMaxNgramCounts().getNgramCount( in getProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_writing_helper.cpp47 "extendedRegionSize: %d", false, entryCounts.getNgramCount(NgramType::Unigram), in writeToDictFile()
48 entryCounts.getNgramCount(NgramType::Bigram), in writeToDictFile()
49 entryCounts.getNgramCount(NgramType::Trigram), in writeToDictFile()
Dver4_patricia_trie_policy.cpp484 mEntryCounters.getNgramCount(NgramType::Unigram)); in getProperty()
486 snprintf(outResult, maxResultLength, "%d", mEntryCounters.getNgramCount(NgramType::Bigram)); in getProperty()
491 mHeaderPolicy->getMaxNgramCounts().getNgramCount( in getProperty()
498 mHeaderPolicy->getMaxNgramCounts().getNgramCount( in getProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dentry_counters.h35 int getNgramCount(const NgramType ngramType) const { in getNgramCount() function
73 int getNgramCount(const NgramType ngramType) const { in getNgramCount() function
Dforgetting_curve_utils.cpp131 if (entryCounts.getNgramCount(ngramType) in needsToDecay()
132 >= getEntryCountHardLimit(maxNgramCounts.getNgramCount(ngramType))) { in needsToDecay()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp204 if (currentEntryCounts.getNgramCount(ngramType) in truncateEntries()
205 <= maxEntryCounts.getNgramCount(ngramType)) { in truncateEntries()
207 currentEntryCounts.getNgramCount(ngramType)); in truncateEntries()
212 maxEntryCounts.getNgramCount(ngramType), prevWordCount, &entryCount)) { in truncateEntries()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.cpp140 entryCounts.getNgramCount(ngramType)); in fillInHeader()