Home
last modified time | relevance | path

Searched refs:getHistoricalInfo (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp59 if (mHasHistoricalInfo && unigramProbabilityEntry.getHistoricalInfo()->getCount() == 0) { in getWordAttributes()
75 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordAttributes()
91 contextCount = prevWordProbabilityEntry.getHistoricalInfo()->getCount(); in getWordAttributes()
235 updatedUnigramProbabilityEntry.getHistoricalInfo()->getCount()); in updateAllEntriesOnInputWord()
250 updatedNgramProbabilityEntry.getHistoricalInfo()->getCount()); in updateAllEntriesOnInputWord()
265 0 /* level */, originalProbabilityEntry.getHistoricalInfo()->getCount() in createUpdatedEntryFrom()
350 const HistoricalInfo *originalHistoricalInfo = probabilityEntry.getHistoricalInfo(); in updateAllProbabilityEntriesForGCInner()
441 *probabilityEntry.getHistoricalInfo()) in getEntryInfo()
443 outEntryInfo->emplace_back(priority, probabilityEntry.getHistoricalInfo()->getCount(), in getEntryInfo()
Dprobability_entry.h56 mHistoricalInfo(unigramProperty->getHistoricalInfo()) {} in ProbabilityEntry()
62 mHistoricalInfo(ngramProperty->getHistoricalInfo()) {} in ProbabilityEntry()
80 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
Dlanguage_model_dict_content.h161 mGlobalCounters.addToTotalCount(probabilityEntry->getHistoricalInfo()->getCount()); in setProbabilityEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp51 ForgettingCurveUtils::decodeProbability(bigramEntry.getHistoricalInfo(), in getNextBigram()
194 bigramEntry.getHistoricalInfo(), mHeaderPolicy); in updateAllBigramEntriesAndDeleteUselessEntries()
270 const HistoricalInfo &historicalInfoForUpdate = ngramProperty->getHistoricalInfo(); in createUpdatedBigramEntryFrom()
273 originalBigramEntry->getHistoricalInfo(), ngramProperty->getProbability(), in createUpdatedBigramEntryFrom()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp219 probabilityEntry.getHistoricalInfo(), mBuffers->getHeaderPolicy()) : in truncateUnigrams()
222 probabilityEntry.getHistoricalInfo()->getTimestamp())); in truncateUnigrams()
266 bigramEntry.getHistoricalInfo(), mBuffers->getHeaderPolicy()) : in truncateBigrams()
269 bigramEntry.getHistoricalInfo()->getTimestamp())); in truncateBigrams()
Dver4_patricia_trie_node_writer.cpp174 originalProbabilityEntry.getHistoricalInfo(), mHeaderPolicy); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
400 const HistoricalInfo &historicalInfoForUpdate = unigramProperty->getHistoricalInfo(); in createUpdatedEntryFrom()
403 originalProbabilityEntry->getHistoricalInfo(), in createUpdatedEntryFrom()
Dver4_patricia_trie_policy.cpp561 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty()
585 const HistoricalInfo *const historicalInfo = bigramEntry.getHistoricalInfo(); in getWordProperty()
588 bigramEntry.getHistoricalInfo(), mHeaderPolicy) in getWordProperty()
Dver4_patricia_trie_node_reader.cpp78 probabilityEntry.getHistoricalInfo(), mHeaderPolicy); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dprobability_entry_test.cpp53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp()); in TEST()
54 EXPECT_EQ(count, decodedEntry.getHistoricalInfo()->getCount()); in TEST()
Dlanguage_model_dict_content_test.cpp62 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimestamp()); in TEST()
63 EXPECT_EQ(count, entry.getHistoricalInfo()->getCount()); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp42 const HistoricalInfo &historicalInfo = unigramProperty.getHistoricalInfo(); in outputWordProperty()
86 const HistoricalInfo &ngramHistoricalInfo = ngramProperty.getHistoricalInfo(); in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp155 probability = probabilityEntry.getHistoricalInfo()->getCount() <= 1 ? in iterateNgramEntries()
537 const HistoricalInfo *const historicalInfo = ngramProbabilityEntry.getHistoricalInfo(); in getWordProperty()
564 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_property.h47 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() function
Dunigram_property.h116 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() function
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dprobability_entry.h75 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
Dbigram_entry.h89 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
Dprobability_dict_content.cpp150 const HistoricalInfo *const historicalInfo = probabilityEntry->getHistoricalInfo(); in writeEntry()
Dbigram_dict_content.cpp87 const HistoricalInfo *const historicalInfo = bigramEntryToWrite->getHistoricalInfo(); in writeBigramEntryAndAdvancePosition()