/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 46 /* static */ const HistoricalInfo ForgettingCurveUtils::createUpdatedHistoricalInfo( in createUpdatedHistoricalInfo() 47 const HistoricalInfo *const originalHistoricalInfo, const int newProbability, in createUpdatedHistoricalInfo() 48 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy) { in createUpdatedHistoricalInfo() 54 return HistoricalInfo(timestamp, level, count); in createUpdatedHistoricalInfo() 63 return HistoricalInfo(timestamp, level, 0 /* count */); in createUpdatedHistoricalInfo() 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); in createUpdatedHistoricalInfo() 73 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo() 77 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo() 81 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); in createUpdatedHistoricalInfo() 87 const HistoricalInfo *const historicalInfo, const HeaderPolicy *const headerPolicy) { in decodeProbability() [all …]
|
D | forgetting_curve_utils.h | 32 static const HistoricalInfo createUpdatedHistoricalInfo( 33 const HistoricalInfo *const originalHistoricalInfo, const int newProbability, 34 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy); 36 static const HistoricalInfo createHistoricalInfoToSave( 37 const HistoricalInfo *const originalHistoricalInfo, 40 static int decodeProbability(const HistoricalInfo *const historicalInfo, 43 static bool needsToKeep(const HistoricalInfo *const historicalInfo,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | unigram_property.h | 59 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) in UnigramProperty() 68 const HistoricalInfo historicalInfo) in UnigramProperty() 77 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) in UnigramProperty() 86 const HistoricalInfo historicalInfo) in UnigramProperty() 116 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() 133 const HistoricalInfo mHistoricalInfo;
|
D | historical_info.h | 24 class HistoricalInfo { 27 HistoricalInfo() in HistoricalInfo() function 30 HistoricalInfo(const int timestamp, const int level, const int count) in HistoricalInfo() function 52 DISALLOW_ASSIGNMENT_OPERATOR(HistoricalInfo);
|
D | ngram_property.h | 31 const int probability, const HistoricalInfo historicalInfo) in NgramProperty() 47 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() 59 const HistoricalInfo mHistoricalInfo;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 75 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordAttributes() 221 const int wordId, const bool isValid, const HistoricalInfo historicalInfo, in updateAllEntriesOnInputWord() 263 const HistoricalInfo historicalInfo, const HeaderPolicy *const headerPolicy) const { in createUpdatedEntryFrom() 264 const HistoricalInfo updatedHistoricalInfo = HistoricalInfo(historicalInfo.getTimestamp(), in createUpdatedEntryFrom() 350 const HistoricalInfo *originalHistoricalInfo = probabilityEntry.getHistoricalInfo(); in updateAllProbabilityEntriesForGCInner() 368 const HistoricalInfo historicalInfoToSave(originalHistoricalInfo->getTimestamp(), in updateAllProbabilityEntriesForGCInner()
|
D | probability_entry.h | 47 ProbabilityEntry(const int flags, const HistoricalInfo *const historicalInfo) in ProbabilityEntry() 80 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() 132 const HistoricalInfo historicalInfo(timestamp, level, count); in decode() 150 const HistoricalInfo mHistoricalInfo;
|
D | dynamic_language_model_probability_utils.h | 43 static int getDecayedProbability(const int probability, const HistoricalInfo historicalInfo) { in getDecayedProbability() 54 static int shouldRemoveEntryDuringGC(const HistoricalInfo historicalInfo) { in shouldRemoveEntryDuringGC() 60 static int getPriorityToPreventFromEviction(const HistoricalInfo historicalInfo) { in getPriorityToPreventFromEviction()
|
D | language_model_dict_content.h | 200 const bool isValid, const HistoricalInfo historicalInfo, 251 const bool isValid, const HistoricalInfo historicalInfo,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_entry.h | 51 const HistoricalInfo *const historicalInfo) in ProbabilityEntry() 59 const HistoricalInfo *const historicalInfo) const { in createEntryWithUpdatedHistoricalInfo() 75 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() 85 const HistoricalInfo mHistoricalInfo;
|
D | bigram_entry.h | 48 const HistoricalInfo *const historicalInfo, const int targetTerminalId) in BigramEntry() 69 const HistoricalInfo *const historicalInfo) const { in updateHistoricalInfoAndGetEntry() 89 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() 104 const HistoricalInfo mHistoricalInfo;
|
D | probability_dict_content.cpp | 54 const HistoricalInfo historicalInfo(timestamp, level, count + level); in getProbabilityEntry() 148 const HistoricalInfo *const historicalInfo = probabilityEntry->getHistoricalInfo(); in writeEntry()
|
D | bigram_dict_content.cpp | 70 const HistoricalInfo historicalInfo(timestamp, level, count); in getBigramEntryAndAdvancePosition() 87 const HistoricalInfo *const historicalInfo = bigramEntryToWrite->getHistoricalInfo(); in writeBigramEntryAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 308 MAX_PROBABILITY /* probability */, HistoricalInfo()); in addNgramEntry() 374 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext() 387 NOT_A_PROBABILITY, HistoricalInfo(historicalInfo.getTimestamp(), 0 /* level */, in updateEntriesForWordWithNgramContext() 407 HistoricalInfo(historicalInfo.getTimestamp(), 0 /* level */, 0 /* count */)); in updateEntriesForWordWithNgramContext() 537 const HistoricalInfo *const historicalInfo = ngramProbabilityEntry.getHistoricalInfo(); in getWordProperty() 564 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty()
|
D | ver4_patricia_trie_policy.h | 101 const HistoricalInfo historicalInfo);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 173 const HistoricalInfo historicalInfo = ForgettingCurveUtils::createHistoricalInfoToSave( in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 400 const HistoricalInfo &historicalInfoForUpdate = unigramProperty->getHistoricalInfo(); in createUpdatedEntryFrom() 401 const HistoricalInfo updatedHistoricalInfo = in createUpdatedEntryFrom() 433 const HistoricalInfo suppressedHistorycalInfo(0 /* timestamp */, 0 /* level */, 0 /* count */); in suppressUnigramEntry()
|
D | ver4_patricia_trie_policy.cpp | 377 false /* isBlacklisted */, MAX_PROBABILITY /* probability */, HistoricalInfo()); in addNgramEntry() 451 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext() 561 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty() 585 const HistoricalInfo *const historicalInfo = bigramEntry.getHistoricalInfo(); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 193 const HistoricalInfo historicalInfo = ForgettingCurveUtils::createHistoricalInfoToSave( in updateAllBigramEntriesAndDeleteUselessEntries() 270 const HistoricalInfo &historicalInfoForUpdate = ngramProperty->getHistoricalInfo(); in createUpdatedBigramEntryFrom() 271 const HistoricalInfo updatedHistoricalInfo = in createUpdatedBigramEntryFrom()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 380 isPossiblyOffensive, probability, HistoricalInfo(timestamp, 0 /* level */, in latinime_BinaryDictionary_addUnigramEntry() 414 probability, HistoricalInfo(timestamp, 0 /* level */, 1 /* count */)); in latinime_BinaryDictionary_addNgramEntry() 449 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext() 500 HistoricalInfo(timestamp, 0 /* level */, 1 /* count */)); in latinime_BinaryDictionary_updateEntriesForInputEvents()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 42 const HistoricalInfo &historicalInfo = unigramProperty.getHistoricalInfo(); in outputWordProperty() 86 const HistoricalInfo &ngramHistoricalInfo = ngramProperty.getHistoricalInfo(); in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 455 probability, HistoricalInfo()); in getWordProperty() 480 ptNodeParams.getProbability(), HistoricalInfo(), std::move(shortcuts)); in getWordProperty()
|
D | patricia_trie_policy.h | 111 const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | probability_entry_test.cpp | 44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
D | dictionary_structure_with_buffer_policy.h | 92 const HistoricalInfo historicalInfo) = 0;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.h | 96 const HistoricalInfo historicalInfo);
|