Home
last modified time | relevance | path

Searched refs:NOT_A_WORD_ID (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp61 const int wordId = isTerminal ? ptNodeParams.getTerminalId() : NOT_A_WORD_ID; in createAndGetAllChildDicNodes()
98 return NOT_A_WORD_ID; in getWordId()
102 return NOT_A_WORD_ID; in getWordId()
110 if (wordId == NOT_A_WORD_ID) { in getWordAttributesInContext()
119 if (wordId == NOT_A_WORD_ID || prevWordIds.contains(NOT_A_WORD_ID)) { in getProbabilityOfWord()
166 if (wordId == NOT_A_WORD_ID) { in getShortcutPositionOfWord()
224 if (wordId == NOT_A_WORD_ID) { in addUnigramEntry()
253 if (wordId == NOT_A_WORD_ID) { in removeUnigramEntry()
299 if (prevWordIds[i] != NOT_A_WORD_ID) { in addNgramEntry()
319 if (wordId == NOT_A_WORD_ID) { in addNgramEntry()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp81 const int wordId = isTerminal ? ptNodeParams.getHeadPos() : NOT_A_WORD_ID; in createAndGetAllChildDicNodes()
121 if (wordId == NOT_A_WORD_ID) { in getWordAttributesInContext()
162 if (wordId == NOT_A_WORD_ID) { in getProbabilityOfWord()
173 if (prevWordIds[0] == NOT_A_WORD_ID) { in getProbabilityOfWord()
373 if (prevWordIds[0] == NOT_A_WORD_ID) { in addNgramEntry()
430 if (prevWordIds.firstOrDefault(NOT_A_WORD_ID) == NOT_A_WORD_ID) { in removeNgramEntry()
653 return ptNodePos == NOT_A_DICT_POS ? NOT_A_WORD_ID : ptNodePos; in getWordIdFromTerminalPtNodePos()
657 return wordId == NOT_A_WORD_ID ? NOT_A_DICT_POS : wordId; in getTerminalPtNodePosFromWordId()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp296 if (wordId == NOT_A_WORD_ID) { in getWordAttributesInContext()
341 if (wordId == NOT_A_WORD_ID) { in getProbabilityOfWord()
419 const int wordId = PatriciaTrieReadingUtils::isTerminal(flags) ? ptNodePos : NOT_A_WORD_ID; in createAndGetLeavingChildNode()
429 if (wordId == NOT_A_WORD_ID) { in getWordProperty()
515 return ptNodePos == NOT_A_DICT_POS ? NOT_A_WORD_ID : ptNodePos; in getWordIdFromTerminalPtNodePos()
519 return wordId == NOT_A_WORD_ID ? NOT_A_DICT_POS : wordId; in getTerminalPtNodePosFromWordId()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h35 mWordId(NOT_A_WORD_ID), mDepth(0), mLeavingDepth(0), mPrevWordCount(0) {} in DicNodeProperties()
55 mWordId = NOT_A_WORD_ID; in init()
103 return mWordId != NOT_A_WORD_ID; in isTerminal()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp93 return NOT_A_WORD_ID; in getWordId()
102 return NOT_A_WORD_ID; in getWordId()
108 if (wordId != NOT_A_WORD_ID || !tryLowerCaseSearch) { in getWordId()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmulti_bigram_map.cpp40 if (prevWordIds.empty() || prevWordIds[0] == NOT_A_WORD_ID) { in getBigramProbability()
77 if (targetWordId == NOT_A_WORD_ID) { in onVisitEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp69 if (targetWordId == NOT_A_WORD_ID) { in onVisitEntry()
118 if (wordId == NOT_A_WORD_ID) return NOT_A_PROBABILITY; in getNgramProbability()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h241 #define NOT_A_WORD_ID (S_INT_MIN) macro
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp237 if (prevWordIds[i] == NOT_A_WORD_ID) { in updateAllEntriesOnInputWord()