/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | multi_bigram_map.cpp | 38 const WordIdArrayView prevWordIds, const int nextWordId, in getBigramProbability() 59 const WordIdArrayView prevWordIds) { in init() 86 const WordIdArrayView prevWordIds) { in addBigramsForWord() 92 const WordIdArrayView prevWordIds, const int nextWordId, const int unigramProbability) { in readBigramProbabilityFromBinaryDictionary()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 42 const WordAttributes LanguageModelDictContent::getWordAttributes(const WordIdArrayView prevWordIds, in getWordAttributes() 118 const WordIdArrayView prevWordIds, const int wordId) const { in getNgramProbabilityEntry() argument 131 bool LanguageModelDictContent::setNgramProbabilityEntry(const WordIdArrayView prevWordIds, in setNgramProbabilityEntry() 143 bool LanguageModelDictContent::removeNgramProbabilityEntry(const WordIdArrayView prevWordIds, in removeNgramProbabilityEntry() 167 std::vector<int> prevWordIds = { wordId }; in exportAllNgramEntriesRelatedToWord() local 176 std::vector<int> *const prevWordIds, in exportAllNgramEntriesRelatedToWordInner() 220 bool LanguageModelDictContent::updateAllEntriesOnInputWord(const WordIdArrayView prevWordIds, in updateAllEntriesOnInputWord() 296 int LanguageModelDictContent::createAndGetBitmapEntryIndex(const WordIdArrayView prevWordIds) { in createAndGetBitmapEntryIndex() 394 std::vector<int> prevWordIds; in turncateEntriesInSpecifiedLevel() local 421 const int targetLevel, const int bitmapEntryIndex, std::vector<int> *const prevWordIds, in getEntryInfo() [all …]
|
D | language_model_dict_content.h | 116 DumppedFullEntryInfo(std::vector<int> &prevWordIds, const int targetWordId, in DumppedFullEntryInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 108 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext() 117 int Ver4PatriciaTriePolicy::getProbabilityOfWord(const WordIdArrayView prevWordIds, in getProbabilityOfWord() 137 void Ver4PatriciaTriePolicy::iterateNgramEntries(const WordIdArrayView prevWordIds, in iterateNgramEntries() 293 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in addNgramEntry() local 354 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in removeNgramEntry() local 400 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in updateEntriesForWordWithNgramContext() local 523 const WordIdArrayView prevWordIds = entry.getPrevWordIds(); in getWordProperty() local
|
D | ver4_patricia_trie_node_writer.cpp | 206 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry() 225 bool Ver4PatriciaTrieNodeWriter::removeNgramEntry(const WordIdArrayView prevWordIds, in removeNgramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_properties.h | 41 const uint16_t depth, const uint16_t leavingDepth, const WordIdArrayView prevWordIds) { in init() 52 void init(const int rootPtNodeArrayPos, const WordIdArrayView prevWordIds) { in init()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 119 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext() 160 int Ver4PatriciaTriePolicy::getProbabilityOfWord(const WordIdArrayView prevWordIds, in getProbabilityOfWord() 198 void Ver4PatriciaTriePolicy::iterateNgramEntries(const WordIdArrayView prevWordIds, in iterateNgramEntries() 368 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in addNgramEntry() local 428 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in removeNgramEntry() local
|
D | ver4_patricia_trie_node_writer.cpp | 234 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry() 256 bool Ver4PatriciaTrieNodeWriter::removeNgramEntry(const WordIdArrayView prevWordIds, in removeNgramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 61 const NgramContext *const ngramContext, const WordIdArrayView prevWordIds, in NgramListenerForPrediction() 95 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds( in getPredictions() local 123 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds( in getNgramProbability() local
|
D | dictionary_utils.cpp | 39 const WordIdArrayView prevWordIds = emptyNgramContext.getPrevWordIds( in getMaxProbabilityOfExactMatches() local
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_utils.cpp | 31 const WordIdArrayView prevWordIds, DicNode *const newRootDicNode) { in initAsRoot()
|
D | dic_node.h | 108 void initAsRoot(const int rootPtNodeArrayPos, const WordIdArrayView prevWordIds) { in initAsRoot()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 294 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext() 339 int PatriciaTriePolicy::getProbabilityOfWord(const WordIdArrayView prevWordIds, in getProbabilityOfWord() 368 void PatriciaTriePolicy::iterateNgramEntries(const WordIdArrayView prevWordIds, in iterateNgramEntries()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 96 const WordIdArrayView prevWordIds(prevWordTerminalIds, prevWordsPtNodePos.size()); in addNgramEntry() local 113 const WordIdArrayView prevWordIds(prevWordTerminalIds, prevWordsPtNodePos.size()); in removeNgramEntry() local
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | language_model_dict_content_test.cpp | 100 const WordIdArrayView prevWordIds = WordIdArrayView::fromArray(prevWordIdArray); in TEST() local
|