Home
last modified time | relevance | path

Searched defs:prevWordIds (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmulti_bigram_map.cpp38 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/
Dlanguage_model_dict_content.cpp42 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 …]
Dlanguage_model_dict_content.h116 DumppedFullEntryInfo(std::vector<int> &prevWordIds, const int targetWordId, in DumppedFullEntryInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp108 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
Dver4_patricia_trie_node_writer.cpp206 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/
Ddic_node_properties.h41 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/
Dver4_patricia_trie_policy.cpp119 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
Dver4_patricia_trie_node_writer.cpp234 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/
Ddictionary.cpp61 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
Ddictionary_utils.cpp39 const WordIdArrayView prevWordIds = emptyNgramContext.getPrevWordIds( in getMaxProbabilityOfExactMatches() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_utils.cpp31 const WordIdArrayView prevWordIds, DicNode *const newRootDicNode) { in initAsRoot()
Ddic_node.h108 void initAsRoot(const int rootPtNodeArrayPos, const WordIdArrayView prevWordIds) { in initAsRoot()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp294 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/
Ddynamic_pt_updating_helper.cpp96 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/
Dlanguage_model_dict_content_test.cpp100 const WordIdArrayView prevWordIds = WordIdArrayView::fromArray(prevWordIdArray); in TEST() local