Searched refs:NOT_A_WORD_ID (Results 1 – 9 of 9) sorted by relevance
61 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 …]
81 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()
296 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()
35 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()
93 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()
40 if (prevWordIds.empty() || prevWordIds[0] == NOT_A_WORD_ID) { in getBigramProbability()77 if (targetWordId == NOT_A_WORD_ID) { in onVisitEntry()
69 if (targetWordId == NOT_A_WORD_ID) { in onVisitEntry()118 if (wordId == NOT_A_WORD_ID) return NOT_A_PROBABILITY; in getNgramProbability()
241 #define NOT_A_WORD_ID (S_INT_MIN) macro
237 if (prevWordIds[i] == NOT_A_WORD_ID) { in updateAllEntriesOnInputWord()