HomeSort by relevance Sort by last modified time
    Searched refs:EntryCounts (Results 1 - 12 of 12) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
entry_counters.h 28 class EntryCounts final {
30 EntryCounts() : mEntryCounts({{0, 0, 0, 0}}) {}
32 explicit EntryCounts(const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> &counters)
44 DISALLOW_ASSIGNMENT_OPERATOR(EntryCounts);
61 const EntryCounts getEntryCounts() const {
62 return EntryCounts(mEntryCounters);
forgetting_curve_utils.h 46 static bool needsToDecay(const bool mindsBlockByDecay, const EntryCounts &entryCounters,
dict_file_writing_utils.cpp 73 EntryCounts(), 0 /* extendedRegionSize */, dictBuffers->getWritableHeaderBuffer());
forgetting_curve_utils.cpp 128 const EntryCounts &entryCounts, const HeaderPolicy *const headerPolicy) {
129 const EntryCounts &maxNgramCounts = headerPolicy->getMaxNgramCounts();
131 if (entryCounts.getNgramCount(ngramType)
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
header_policy.h 169 AK_FORCE_INLINE const EntryCounts &getNgramCounts() const {
173 AK_FORCE_INLINE const EntryCounts getMaxNgramCounts() const {
202 const EntryCounts &entryCounts, const int extendedRegionSize,
205 void fillInHeader(const bool updatesLastDecayedTime, const EntryCounts &entryCounts,
252 const EntryCounts mNgramCounts;
253 const EntryCounts mMaxNgramCounts;
262 const EntryCounts readNgramCounts() const;
263 const EntryCounts readMaxNgramCounts() const
    [all...]
header_policy.cpp 95 const EntryCounts &entryCounts, const int extendedRegionSize,
99 fillInHeader(updatesLastDecayedTime, entryCounts, extendedRegionSize, &attributeMapToWrite);
135 const EntryCounts &entryCounts, const int extendedRegionSize,
140 entryCounts.getNgramCount(ngramType));
162 /* static */ const EntryCounts HeaderPolicy::readNgramCounts() const {
172 /* static */ const EntryCounts HeaderPolicy::readMaxNgramCounts() const {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_writing_helper.h 37 bool writeToDictFile(const char *const dictDirPath, const EntryCounts &entryCounts) const;
ver4_patricia_trie_writing_helper.cpp 37 const EntryCounts &entryCounts) const {
44 entryCounts, extendedRegionSize, &headerBuffer)) {
47 "extendedRegionSize: %d", false, entryCounts.getNgramCount(NgramType::Unigram),
48 entryCounts.getNgramCount(NgramType::Bigram),
49 entryCounts.getNgramCount(NgramType::Trigram),
91 const EntryCounts &maxEntryCounts = headerPolicy->getMaxNgramCounts();
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_writing_helper.h 50 bool writeToDictFile(const char *const dictDirPath, const EntryCounts &entryCounts) const;
ver4_patricia_trie_writing_helper.cpp 46 const EntryCounts &entryCounts) const {
53 entryCounts, extendedRegionSize, &headerBuffer)) {
56 "extendedRegionSize: %d", false, entryCounts.getNgramCount(NgramType::Unigram),
57 entryCounts.getNgramCount(NgramType::Bigram), extendedRegionSize);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
language_model_dict_content.h 195 // entryCounts should be created by updateAllProbabilityEntries.
196 bool truncateEntries(const EntryCounts &currentEntryCounts, const EntryCounts &maxEntryCounts,
language_model_dict_content.cpp 198 bool LanguageModelDictContent::truncateEntries(const EntryCounts &currentEntryCounts,
199 const EntryCounts &maxEntryCounts, const HeaderPolicy *const headerPolicy,

Completed in 75 milliseconds