/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | unigram_property.h | 57 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, in UnigramProperty() argument 61 mIsNotAWord(isNotAWord), mIsBlacklisted(false), in UnigramProperty() 66 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, in UnigramProperty() argument 70 mIsNotAWord(isNotAWord), mIsBlacklisted(false), in UnigramProperty() 75 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, in UnigramProperty() argument 79 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), in UnigramProperty() 84 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, in UnigramProperty() argument 88 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), in UnigramProperty() 96 bool isNotAWord() const { in isNotAWord() function
|
D | word_attributes.h | 29 WordAttributes(const int probability, const bool isBlacklisted, const bool isNotAWord, in WordAttributes() argument 31 : mProbability(probability), mIsBlacklisted(isBlacklisted), mIsNotAWord(isNotAWord), in WordAttributes() 42 bool isNotAWord() const { in isNotAWord() function
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 103 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, in PtNode() argument 110 mIsNotAWord = isNotAWord; in PtNode() 115 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, in PtNode() argument 121 mIsNotAWord = isNotAWord; in PtNode() 206 final boolean isNotAWord, final boolean isPossiblyOffensive) { in update() argument 225 mIsNotAWord = isNotAWord; in update() 275 final boolean isNotAWord, final boolean isPossiblyOffensive) { in add() argument 276 add(getCodePoints(word), probabilityInfo, isNotAWord, isPossiblyOffensive); in add() local 334 final boolean isNotAWord, final boolean isPossiblyOffensive) { in add() argument 363 null /* bigrams */, probabilityInfo, isNotAWord, in add() [all …]
|
D | BinaryDictEncoderUtils.java | 518 final boolean isNotAWord, final boolean isPossiblyOffensive) { in makePtNodeFlags() argument 539 if (isNotAWord) flags |= FormatSpec.FLAG_IS_NOT_A_WORD; in makePtNodeFlags()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 149 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in setPtNodeProbability() 183 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in createNewPtNodeArrayWithAChildPtNode() 226 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 244 reallocatingPtNodeParams->isNotAWord(), reallocatingPtNodeParams->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 253 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 279 const PtNodeParams *const originalPtNodeParams, const bool isNotAWord, in getUpdatedPtNodeParams() argument 283 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */, in getUpdatedPtNodeParams() 289 const PtNodeParams DynamicPtUpdatingHelper::getPtNodeParamsForNewPtNode(const bool isNotAWord, in getPtNodeParamsForNewPtNode() argument 293 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */, in getPtNodeParamsForNewPtNode()
|
D | pt_node_params.h | 151 AK_FORCE_INLINE bool isNotAWord() const { in isNotAWord() function 152 return PatriciaTrieReadingUtils::isNotAWord(mFlags); in isNotAWord() 165 && isNotAWord(); in representsNonWordInfo() 170 && isNotAWord(); in representsBeginningOfSentence()
|
D | patricia_trie_reading_utils.h | 61 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) { in isNotAWord() function 86 const bool isNotAWord, const bool isTerminal, const bool hasShortcutTargets, in createAndGetFlags() argument 91 nodeFlags = isNotAWord ? (nodeFlags | FLAG_IS_NOT_A_WORD) : nodeFlags; in createAndGetFlags()
|
D | dynamic_pt_updating_helper.h | 88 const bool isNotAWord, const bool isPossiblyOffensive, const bool isTerminal, 91 const PtNodeParams getPtNodeParamsForNewPtNode(const bool isNotAWord,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 248 sourcePtNodeParams.isPossiblyOffensive(), sourcePtNodeParams.isNotAWord(), in addNgramEntry() 319 ptNodeParams->isPossiblyOffensive(), ptNodeParams->isNotAWord(), in addShortcutTarget() 334 ptNodeParams->isNotAWord(), ptNodeParams->isTerminal(), hasShortcutTargets, in updatePtNodeHasBigramsAndShortcutTargetsFlags() 390 ptNodeParams->isNotAWord(), isTerminal, ptNodeParams->hasShortcutTargets(), in writePtNodeAndGetTerminalIdAndAdvancePosition() 414 const bool isBlacklisted, const bool isNotAWord, const bool isTerminal, in updatePtNodeFlags() argument 418 PatriciaTrieReadingUtils::createAndGetFlags(isBlacklisted, isNotAWord, isTerminal, in updatePtNodeFlags()
|
D | ver4_patricia_trie_policy.cpp | 143 return WordAttributes(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(), in getWordAttributes() 167 if (ptNodeParams.isDeleted() || ptNodeParams.isNotAWord()) { in getProbabilityOfWord() 618 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(), in getWordProperty()
|
D | ver4_patricia_trie_node_writer.h | 133 bool updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord,
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 100 boolean isNotAWord = false; in readDictionaryCombined() 110 isNotAWord, isPossiblyOffensive); in readDictionaryCombined() 117 isNotAWord = false; in readDictionaryCombined() 144 isNotAWord = CombinedFormatUtils.isLiteralTrue(params[1]); in readDictionaryCombined() 203 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, isNotAWord, in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 53 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(), in ProbabilityEntry() 88 bool isNotAWord() const { in isNotAWord() function 158 const bool isNotAWord, const bool isBlacklisted, const bool isPossiblyOffensive) { in createFlags() argument 163 if (isNotAWord) { in createFlags()
|
D | language_model_dict_content.cpp | 110 unigramProbabilityEntry.isNotAWord(), in getWordAttributes()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 53 final boolean isNotAWord, final boolean isPossiblyOffensive) { in WordProperty() argument 66 mIsNotAWord = isNotAWord; in WordProperty() 81 public WordProperty(final int[] codePoints, final boolean isNotAWord, in WordProperty() argument 91 mIsNotAWord = isNotAWord; in WordProperty()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 298 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument 302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); in addUnigramEntry() 308 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramLocked() argument 310 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramLocked()
|
D | BinaryDictionary.java | 203 boolean isNotAWord, boolean isPossiblyOffensive, int timestamp); in addUnigramEntryNative() argument 447 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument 454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 319 return WordAttributes(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(), in getWordAttributes() 347 if (ptNodeParams.isNotAWord()) { in getProbabilityOfWord() 479 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(), in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 125 if (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()) { in getProbabilityOfWord() 566 wordAttributes.isNotAWord(), wordAttributes.isBlacklisted(), in getWordProperty()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 709 final boolean isNotAWord = random.nextBoolean(); in testGetWordProperties() 713 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, in testGetWordProperties() 724 assertEquals(isNotAWord, wordProperty.mIsNotAWord); in testGetWordProperties()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_utils.cpp | 79 && (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()))) { in getBigramNodeImprobability()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive, in latinime_BinaryDictionary_addUnigramEntry() argument 379 const UnigramProperty unigramProperty(isBeginningOfSentence, isNotAWord, in latinime_BinaryDictionary_addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 38 jboolean flags[] = {unigramProperty.isNotAWord(), unigramProperty.isPossiblyOffensive(), in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestions_output_utils.cpp | 158 const bool isValidWord = !(wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()); in outputSuggestionsOfDicNode()
|