Searched refs:getNgramCount (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 56 "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()
|
D | ver4_patricia_trie_policy.cpp | 529 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/ |
D | ver4_patricia_trie_writing_helper.cpp | 47 "extendedRegionSize: %d", false, entryCounts.getNgramCount(NgramType::Unigram), in writeToDictFile() 48 entryCounts.getNgramCount(NgramType::Bigram), in writeToDictFile() 49 entryCounts.getNgramCount(NgramType::Trigram), in writeToDictFile()
|
D | ver4_patricia_trie_policy.cpp | 484 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/ |
D | entry_counters.h | 35 int getNgramCount(const NgramType ngramType) const { in getNgramCount() function 73 int getNgramCount(const NgramType ngramType) const { in getNgramCount() function
|
D | forgetting_curve_utils.cpp | 131 if (entryCounts.getNgramCount(ngramType) in needsToDecay() 132 >= getEntryCountHardLimit(maxNgramCounts.getNgramCount(ngramType))) { in needsToDecay()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 204 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/ |
D | header_policy.cpp | 140 entryCounts.getNgramCount(ngramType)); in fillInHeader()
|