Searched refs:wordAttributes (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestions_output_utils.cpp | 81 const WordAttributes wordAttributes, const bool isLastWord) { in shouldBlockWord() argument 89 wordAttributes.isPossiblyOffensive(); in shouldBlockWord() 139 const WordAttributes wordAttributes = traverseSession->getDictionaryStructurePolicy() in outputSuggestionsOfDicNode() local 151 (wordAttributes.isPossiblyOffensive() ? Dictionary::KIND_FLAG_POSSIBLY_OFFENSIVE : 0) in outputSuggestionsOfDicNode() 158 const bool isValidWord = !(wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()); in outputSuggestionsOfDicNode() 161 terminalDicNode, wordAttributes, true /* isLastWord */); in outputSuggestionsOfDicNode() 169 boostExactMatches, wordAttributes.getProbability() == 0); in outputSuggestionsOfDicNode()
|
D | suggestions_output_utils.h | 39 const DicNode *const terminalDicNode, const WordAttributes wordAttributes,
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_utils.cpp | 75 const WordAttributes wordAttributes = dictionaryStructurePolicy->getWordAttributesInContext( in getBigramNodeImprobability() local 77 if (wordAttributes.getProbability() == NOT_A_PROBABILITY in getBigramNodeImprobability() 79 && (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()))) { in getBigramNodeImprobability() 83 const float cost = static_cast<float>(MAX_PROBABILITY - wordAttributes.getProbability()) in getBigramNodeImprobability()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 122 const WordAttributes wordAttributes = in getProbabilityOfWord() local 125 if (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()) { in getProbabilityOfWord() 128 return wordAttributes.getProbability(); in getProbabilityOfWord() 561 const WordAttributes wordAttributes = languageModelDictContent->getWordAttributes( in getWordProperty() local 566 wordAttributes.isNotAWord(), wordAttributes.isBlacklisted(), in getWordProperty() 567 wordAttributes.isPossiblyOffensive(), wordAttributes.getProbability(), in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 82 const WordAttributes wordAttributes = mDictStructurePolicy->getWordAttributesInContext( in onVisitEntry() local 84 if (wordAttributes.getProbability() == NOT_A_PROBABILITY) { in onVisitEntry() 88 wordAttributes.getProbability()); in onVisitEntry()
|
D | dictionary_utils.cpp | 63 const WordAttributes wordAttributes = in getMaxProbabilityOfExactMatches() local 67 maxProbability = std::max(maxProbability, wordAttributes.getProbability()); in getMaxProbabilityOfExactMatches()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
D | suggest.cpp | 415 const WordAttributes wordAttributes = in createNextWordDicNode() local 420 dicNode, wordAttributes, false /* isLastWord */)) { in createNextWordDicNode() 424 if (!TRAVERSAL->isGoodToTraverseNextWord(dicNode, wordAttributes.getProbability())) { in createNextWordDicNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.h | 117 const WordAttributes &wordAttributes, const ProbabilityEntry &probabilityEntry) in DumppedFullEntryInfo() argument 119 mWordAttributes(wordAttributes), mProbabilityEntry(probabilityEntry) {} in DumppedFullEntryInfo()
|
D | language_model_dict_content.cpp | 183 const WordAttributes wordAttributes = getWordAttributes( in exportAllNgramEntriesRelatedToWordInner() local 187 wordAttributes, probabilityEntry); in exportAllNgramEntriesRelatedToWordInner()
|