/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
word_attributes.h | 29 WordAttributes(const int probability, const bool isBlacklisted, const bool isNotAWord, 31 : mProbability(probability), mIsBlacklisted(isBlacklisted), mIsNotAWord(isNotAWord), 42 bool isNotAWord() const {
|
unigram_property.h | 57 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, 61 mIsNotAWord(isNotAWord), mIsBlacklisted(false), 66 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, 70 mIsNotAWord(isNotAWord), mIsBlacklisted(false), 75 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, 79 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), 84 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, 88 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), 96 bool isNotAWord() const {
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
dynamic_pt_updating_helper.h | 88 const bool isNotAWord, const bool isPossiblyOffensive, const bool isTerminal, 91 const PtNodeParams getPtNodeParamsForNewPtNode(const bool isNotAWord,
|
dynamic_pt_updating_helper.cpp | 149 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), 183 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), 218 false /* isNotAWord */, false /* isPossiblyOffensive */, false /* isTerminal */, 226 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), 244 reallocatingPtNodeParams->isNotAWord(), reallocatingPtNodeParams->isPossiblyOffensive(), 253 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), 279 const PtNodeParams *const originalPtNodeParams, const bool isNotAWord, 283 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */, 289 const PtNodeParams DynamicPtUpdatingHelper::getPtNodeParamsForNewPtNode(const bool isNotAWord, 293 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */ [all...] |
patricia_trie_reading_utils.h | 61 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) { 86 const bool isNotAWord, const bool isTerminal, const bool hasShortcutTargets, 91 nodeFlags = isNotAWord ? (nodeFlags | FLAG_IS_NOT_A_WORD) : nodeFlags;
|
pt_node_params.h | 151 AK_FORCE_INLINE bool isNotAWord() const { 152 return PatriciaTrieReadingUtils::isNotAWord(mFlags); 165 && isNotAWord(); 170 && isNotAWord();
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
probability_entry.h | 53 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(), 88 bool isNotAWord() const { 158 const bool isNotAWord, const bool isBlacklisted, const bool isPossiblyOffensive) { 163 if (isNotAWord) {
|
language_model_dict_content.cpp | 110 unigramProbabilityEntry.isNotAWord(),
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 103 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, 110 mIsNotAWord = isNotAWord; 115 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, 121 mIsNotAWord = isNotAWord; 206 final boolean isNotAWord, final boolean isPossiblyOffensive) { 225 mIsNotAWord = isNotAWord; 271 * @param isNotAWord true if this should not be considered a word (e.g. shortcut only) 275 final boolean isNotAWord, final boolean isPossiblyOffensive) { 276 add(getCodePoints(word), probabilityInfo, isNotAWord, isPossiblyOffensive); 310 add(getCodePoints(word1), new ProbabilityInfo(0), false /* isNotAWord */, [all...] |
BinaryDictEncoderUtils.java | 512 * @param isNotAWord whether the PtNode is not a word. 518 final boolean isNotAWord, final boolean isPossiblyOffensive) { 539 if (isNotAWord) flags |= FormatSpec.FLAG_IS_NOT_A_WORD; [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 100 boolean isNotAWord = false; 110 isNotAWord, isPossiblyOffensive); 117 isNotAWord = false; 144 isNotAWord = CombinedFormatUtils.isLiteralTrue(params[1]); 203 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, isNotAWord,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
WordProperty.java | 53 final boolean isNotAWord, final boolean isPossiblyOffensive) { 66 mIsNotAWord = isNotAWord; 81 public WordProperty(final int[] codePoints, final boolean isNotAWord, 91 mIsNotAWord = isNotAWord;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
dic_node_utils.cpp | 79 && (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()))) {
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
ver4_patricia_trie_node_writer.cpp | 248 sourcePtNodeParams.isPossiblyOffensive(), sourcePtNodeParams.isNotAWord(), 319 ptNodeParams->isPossiblyOffensive(), ptNodeParams->isNotAWord(), 334 ptNodeParams->isNotAWord(), ptNodeParams->isTerminal(), hasShortcutTargets, 390 ptNodeParams->isNotAWord(), isTerminal, ptNodeParams->hasShortcutTargets(), 414 const bool isBlacklisted, const bool isNotAWord, const bool isTerminal, 418 PatriciaTrieReadingUtils::createAndGetFlags(isBlacklisted, isNotAWord, isTerminal,
|
ver4_patricia_trie_node_writer.h | 133 bool updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord,
|
ver4_patricia_trie_policy.cpp | 143 return WordAttributes(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(), 167 if (ptNodeParams.isDeleted() || ptNodeParams.isNotAWord()) { 376 true /* representsBeginningOfSentence */, true /* isNotAWord */, 459 false /* isNotAWord */, false /*isBlacklisted*/, probability, historicalInfo); 618 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(),
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 319 return WordAttributes(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(), 347 if (ptNodeParams.isNotAWord()) { 479 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ExpandableBinaryDictionary.java | 298 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { 302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); 308 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { 310 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, timestamp)) {
|
BinaryDictionary.java | 203 boolean isNotAWord, boolean isPossiblyOffensive, int timestamp); 447 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { 454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) {
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
jni_data_utils.cpp | 38 jboolean flags[] = {unigramProperty.isNotAWord(), unigramProperty.isPossiblyOffensive(),
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
suggestions_output_utils.cpp | 158 const bool isValidWord = !(wordAttributes.isBlacklisted() || wordAttributes.isNotAWord());
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
ver4_patricia_trie_policy.cpp | 125 if (wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()) { 306 true /* representsBeginningOfSentence */, true /* isNotAWord */, 386 false /* isNotAWord */, false /* isBlacklisted */, false /* isPossiblyOffensive */, 406 true /* isNotAWord */, false /* isPossiblyOffensive */, NOT_A_PROBABILITY, 566 wordAttributes.isNotAWord(), wordAttributes.isBlacklisted(),
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryTests.java | 160 false /* isNotAWord */, false /* isPossiblyOffensive */, 178 false /* isBeginningOfSentence */, false /* isNotAWord */, [all...] |
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive, 379 const UnigramProperty unigramProperty(isBeginningOfSentence, isNotAWord, [all...] |