Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp87 int Ver4PatriciaTriePolicy::getWordId(const CodePointArrayView wordCodePoints, in getWordId() function in latinime::Ver4PatriciaTriePolicy
160 listener->onVisitEntry(probability, entry.getWordId()); in iterateNgramEntries()
223 const int wordId = getWordId(codePointArrayView, false /* forceLowerCaseSearch */); in addUnigramEntry()
252 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in removeUnigramEntry()
317 const int wordId = getWordId(CodePointArrayView(*ngramProperty->getTargetCodePoints()), in addNgramEntry()
359 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in removeNgramEntry()
382 int wordId = getWordId(wordCodePoints, false /* tryLowerCaseSearch */); in updateEntriesForWordWithNgramContext()
396 wordId = getWordId(wordCodePoints, false /* tryLowerCaseSearch */); in updateEntriesForWordWithNgramContext()
506 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in getWordProperty()
Dver4_patricia_trie_policy.h67 int getWordId(const CodePointArrayView wordCodePoints, const bool forceLowerCaseSearch) const;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp105 int Ver4PatriciaTriePolicy::getWordId(const CodePointArrayView wordCodePoints, in getWordId() function in latinime::backward::v402::Ver4PatriciaTriePolicy
311 getWordId(codePointArrayView, false /* forceLowerCaseSearch */)); in addUnigramEntry()
339 getWordId(wordCodePoints, false /* forceLowerCaseSearch */)); in removeUnigramEntry()
389 const int wordPos = getTerminalPtNodePosFromWordId(getWordId( in addNgramEntry()
433 const int wordPos = getTerminalPtNodePosFromWordId(getWordId(wordCodePoints, in removeNgramEntry()
552 getWordId(wordCodePoints, false /* forceLowerCaseSearch */)); in getWordProperty()
Dver4_patricia_trie_policy.h92 int getWordId(const CodePointArrayView wordCodePoints, const bool forceLowerCaseSearch) const;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp88 /* static */ int NgramContext::getWordId( in getWordId() function in latinime::NgramContext
106 const int wordId = dictStructurePolicy->getWordId(codePointArrayView, in getWordId()
114 return dictStructurePolicy->getWordId(codePointArrayView, true /* forceLowerCaseSearch */); in getWordId()
Dngram_context.h53 prevWordIdBuffer->at(i) = getWordId(dictStructurePolicy, mPrevWordCodePoints[i], in getPrevWordIds()
67 static int getWordId(const DictionaryStructureWithBufferPolicy *const dictStructurePolicy,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h119 newPrevWordIds[0] = dicNode->mDicNodeProperties.getWordId(); in initAsRootWithPreviousWord()
201 int getWordId() const { in getWordId() function
202 return mDicNodeProperties.getWordId(); in getWordId()
Ddic_node_utils.cpp76 dicNode->getPrevWordIds(), dicNode->getWordId(), multiBigramMap); in getBigramNodeImprobability()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestions_output_utils.cpp141 terminalDicNode->getWordId(), nullptr /* multiBigramMap */); in outputSuggestionsOfDicNode()
192 terminalDicNode->getWordId()); in outputSuggestionsOfDicNode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp280 int PatriciaTriePolicy::getWordId(const CodePointArrayView wordCodePoints, in getWordId() function in latinime::PatriciaTriePolicy
428 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in getWordProperty()
Dpatricia_trie_policy.h65 int getWordId(const CodePointArrayView wordCodePoints, const bool forceLowerCaseSearch) const;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_structure_with_buffer_policy.h57 virtual int getWordId(const CodePointArrayView wordCodePoints,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp65 dicNode.getWordId(), nullptr /* multiBigramMap */); in getMaxProbabilityOfExactMatches()
Ddictionary.cpp116 const int wordId = mDictionaryStructureWithBufferPolicy->getWordId(codePoints, in getNgramProbability()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h114 int getWordId() const { in getWordId() function
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp86 wordIdSet.erase(entry.getWordId()); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h51 int getWordId() const { return mWordId; } in getWordId() function
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest.cpp417 dicNode->getPrevWordIds(), dicNode->getWordId(), in createNextWordDicNode()