Home
last modified time | relevance | path

Searched refs:isNotAWord (Results 1 – 24 of 24) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h57 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
Dword_attributes.h29 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/
DFusionDictionary.java103 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 …]
DBinaryDictEncoderUtils.java518 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/
Ddynamic_pt_updating_helper.cpp149 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()
Dpt_node_params.h151 AK_FORCE_INLINE bool isNotAWord() const { in isNotAWord() function
152 return PatriciaTrieReadingUtils::isNotAWord(mFlags); in isNotAWord()
165 && isNotAWord(); in representsNonWordInfo()
170 && isNotAWord(); in representsBeginningOfSentence()
Dpatricia_trie_reading_utils.h61 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()
Ddynamic_pt_updating_helper.h88 const bool isNotAWord, const bool isPossiblyOffensive, const bool isTerminal,
91 const PtNodeParams getPtNodeParamsForNewPtNode(const bool isNotAWord,
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java100 boolean isNotAWord = false; in readDictionaryCombined()
109 dict.add(word, probabilityInfo, isNotAWord, isPossiblyOffensive); in readDictionaryCombined()
116 isNotAWord = false; in readDictionaryCombined()
143 isNotAWord = CombinedFormatUtils.isLiteralTrue(params[1]); in readDictionaryCombined()
183 dict.add(word, probabilityInfo, isNotAWord, isPossiblyOffensive); in readDictionaryCombined()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp248 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()
Dver4_patricia_trie_policy.cpp143 return WordAttributes(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(), in getWordAttributes()
167 if (ptNodeParams.isDeleted() || ptNodeParams.isNotAWord()) { in getProbabilityOfWord()
618 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(), in getWordProperty()
Dver4_patricia_trie_node_writer.h133 bool updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dprobability_entry.h53 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()
Dlanguage_model_dict_content.cpp110 unigramProbabilityEntry.isNotAWord(), in getWordAttributes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java53 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/
DExpandableBinaryDictionary.java298 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()
DBinaryDictionary.java203 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/
Dpatricia_trie_policy.cpp319 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/suggest/core/dicnode/
Ddic_node_utils.cpp79 && (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()))) { in getBigramNodeImprobability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp125 if (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()) { in getProbabilityOfWord()
566 wordAttributes.isNotAWord(), wordAttributes.isBlacklisted(), in getWordProperty()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java735 final boolean isNotAWord = random.nextBoolean(); in testGetWordProperties()
739 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, in testGetWordProperties()
750 assertEquals(isNotAWord, wordProperty.mIsNotAWord); in testGetWordProperties()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp38 jboolean flags[] = {unigramProperty.isNotAWord(), unigramProperty.isPossiblyOffensive(), in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestions_output_utils.cpp158 const bool isValidWord = !(wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()); in outputSuggestionsOfDicNode()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive, in latinime_BinaryDictionary_addUnigramEntry() argument
379 const UnigramProperty unigramProperty(isBeginningOfSentence, isNotAWord, in latinime_BinaryDictionary_addUnigramEntry()