Home
last modified time | relevance | path

Searched defs:historicalInfo (Results 1 – 20 of 20) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h43 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()
Dlanguage_model_dict_content.cpp75 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordAttributes() local
221 const int wordId, const bool isValid, const HistoricalInfo historicalInfo, in updateAllEntriesOnInputWord()
263 const HistoricalInfo historicalInfo, const HeaderPolicy *const headerPolicy) const { in createUpdatedEntryFrom() argument
Dprobability_entry.h47 ProbabilityEntry(const int flags, const HistoricalInfo *const historicalInfo) in ProbabilityEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h59 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()
Dngram_property.h31 const int probability, const HistoricalInfo historicalInfo) in NgramProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dprobability_entry.h51 const HistoricalInfo *const historicalInfo) in ProbabilityEntry()
59 const HistoricalInfo *const historicalInfo) const { in createEntryWithUpdatedHistoricalInfo()
Dbigram_entry.h48 const HistoricalInfo *const historicalInfo, const int targetTerminalId) in BigramEntry()
69 const HistoricalInfo *const historicalInfo) const { in updateHistoricalInfoAndGetEntry()
Dprobability_dict_content.cpp54 const HistoricalInfo historicalInfo(timestamp, level, count + level); in getProbabilityEntry() local
148 const HistoricalInfo *const historicalInfo = probabilityEntry->getHistoricalInfo(); in writeEntry() local
Dbigram_dict_content.cpp70 const HistoricalInfo historicalInfo(timestamp, level, count); in getBigramEntryAndAdvancePosition() local
87 const HistoricalInfo *const historicalInfo = bigramEntryToWrite->getHistoricalInfo(); in writeBigramEntryAndAdvancePosition() local
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dprobability_entry_test.cpp44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in TEST() local
Dlanguage_model_dict_content_test.cpp57 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in TEST() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp87 const HistoricalInfo *const historicalInfo, const HeaderPolicy *const headerPolicy) { in decodeProbability()
96 /* static */ bool ForgettingCurveUtils::needsToKeep(const HistoricalInfo *const historicalInfo, in needsToKeep()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp374 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext()
537 const HistoricalInfo *const historicalInfo = ngramProbabilityEntry.getHistoricalInfo(); in getWordProperty() local
564 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp451 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext()
561 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty() local
585 const HistoricalInfo *const historicalInfo = bigramEntry.getHistoricalInfo(); in getWordProperty() local
Dver4_patricia_trie_node_writer.cpp173 const HistoricalInfo historicalInfo = ForgettingCurveUtils::createHistoricalInfoToSave( in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h111 const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp42 const HistoricalInfo &historicalInfo = unigramProperty.getHistoricalInfo(); in outputWordProperty() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp193 const HistoricalInfo historicalInfo = ForgettingCurveUtils::createHistoricalInfoToSave( in updateAllBigramEntriesAndDeleteUselessEntries() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp159 const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp449 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext() local