Home
last modified time | relevance | path

Searched refs:getProbabilityEntry (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp38 languageModelDictContent.getProbabilityEntry(wordId); in TEST()
44 EXPECT_FALSE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
47 EXPECT_TRUE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
60 const ProbabilityEntry entry = languageModelDictContent.getProbabilityEntry(wordId); in TEST()
67 EXPECT_FALSE(languageModelDictContent.getProbabilityEntry(wordId).isValid()); in TEST()
84 EXPECT_EQ(originalEntry.getFlags(), entry.getProbabilityEntry().getFlags()); in TEST()
85 EXPECT_EQ(originalEntry.getProbability(), entry.getProbabilityEntry().getProbability()); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dprobability_dict_content.cpp35 const ProbabilityEntry ProbabilityDictContent::getProbabilityEntry(const int terminalId) const { in getProbabilityEntry() function in latinime::backward::v402::ProbabilityDictContent
88 const ProbabilityEntry probabilityEntry = getProbabilityEntry(i); in flushToFile()
107 originalProbabilityDictContent->getProbabilityEntry(it->first); in runGC()
Dprobability_dict_content.h50 const ProbabilityEntry getProbabilityEntry(const int terminalId) const;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h52 const ProbabilityEntry getProbabilityEntry() const { return mProbabilityEntry; } in getProbabilityEntry() function
124 const ProbabilityEntry &getProbabilityEntry() const { return mProbabilityEntry; } in getProbabilityEntry() function
156 ProbabilityEntry getProbabilityEntry(const int wordId) const { in getProbabilityEntry() function
Dlanguage_model_dict_content.cpp58 const ProbabilityEntry unigramProbabilityEntry = getProbabilityEntry(wordId); in getWordAttributes()
227 const ProbabilityEntry originalUnigramProbabilityEntry = getProbabilityEntry(wordId); in updateAllEntriesOnInputWord()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp146 const ProbabilityEntry &probabilityEntry = entry.getProbabilityEntry(); in iterateNgramEntries()
527 ngramPrevWordIsBeginningOfSentense[i] = languageModelDictContent->getProbabilityEntry( in getWordProperty()
536 const ProbabilityEntry ngramProbabilityEntry = entry.getProbabilityEntry(); in getWordProperty()
563 const ProbabilityEntry probabilityEntry = languageModelDictContent->getProbabilityEntry(wordId); in getWordProperty()
Dver4_patricia_trie_node_writer.cpp157 mBuffers->getLanguageModelDictContent()->getProbabilityEntry( in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp155 mBuffers->getProbabilityDictContent()->getProbabilityEntry( in updatePtNodeUnigramProperty()
170 mBuffers->getProbabilityDictContent()->getProbabilityEntry( in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
Dver4_patricia_trie_node_reader.cpp75 mProbabilityDictContent->getProbabilityEntry(terminalId); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_writing_helper.cpp216 mBuffers->getProbabilityDictContent()->getProbabilityEntry(i); in truncateUnigrams()
Dver4_patricia_trie_policy.cpp559 mBuffers->getProbabilityDictContent()->getProbabilityEntry( in getWordProperty()