/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookupTest.java | 218 assertTrue(lookup.isValidWord("foo", Locale.US)); in testExactLocaleMatch() 219 assertTrue(lookup.isValidWord("Foo", Locale.US)); in testExactLocaleMatch() 220 assertTrue(lookup.isValidWord("FOO", Locale.US)); in testExactLocaleMatch() 222 assertFalse(lookup.isValidWord("fo", Locale.US)); in testExactLocaleMatch() 223 assertFalse(lookup.isValidWord("fop", Locale.US)); in testExactLocaleMatch() 224 assertFalse(lookup.isValidWord("fooo", Locale.US)); in testExactLocaleMatch() 226 assertFalse(lookup.isValidWord("foo", Locale.ENGLISH)); in testExactLocaleMatch() 227 assertFalse(lookup.isValidWord("foo", Locale.UK)); in testExactLocaleMatch() 228 assertFalse(lookup.isValidWord("foo", Locale.FRENCH)); in testExactLocaleMatch() 229 assertFalse(lookup.isValidWord("foo", ANY_LOCALE)); in testExactLocaleMatch() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 195 if (mService.isValidWord(mLocale, text)) return true; in isInDictForAnyCapitalization() 202 if (mService.isValidWord(mLocale, lowerCaseText)) return true; in isInDictForAnyCapitalization() 208 return mService.isValidWord(mLocale, in isInDictForAnyCapitalization() 244 if (!mService.isValidWord(mLocale, word)) { in onGetSuggestionsInternal() 256 return mService.isValidWord(mLocale, text) ? in onGetSuggestionsInternal()
|
D | AndroidSpellCheckerService.java | 160 public boolean isValidWord(final Locale locale, final String word) { in isValidWord() method in AndroidSpellCheckerService
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestions_output_utils.cpp | 158 const bool isValidWord = !(wordAttributes.isBlacklisted() || wordAttributes.isNotAWord()); in outputSuggestionsOfDicNode() local 173 if (isValidWord && !shouldBlockThisWord) { in outputSuggestionsOfDicNode()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 158 const CodePointArrayView codePoints, const bool isValidWord, in updateEntriesForWordWithNgramContext() argument 162 codePoints, isValidWord, historicalInfo); in updateEntriesForWordWithNgramContext()
|
D | dictionary.h | 95 const CodePointArrayView codePoints, const bool isValidWord,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitatorImpl.java | 653 return isValidWord(word, ALL_DICTIONARY_TYPES); in isValidSpellingWord() 657 return isValidWord(word, ALL_DICTIONARY_TYPES); in isValidSuggestionWord() 660 private boolean isValidWord(final String word, final String[] dictionariesToCheck) { in isValidWord() method in DictionaryFacilitatorImpl 673 if (dictionary.isValidWord(word)) { in isValidWord()
|
D | BinaryDictionary.java | 212 int[] word, boolean isValidWord, int count, int timestamp); in updateEntriesForWordWithNgramContextNative() argument 494 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWordWithNgramContext() argument 503 isBeginningOfSentenceArray, wordCodePoints, isValidWord, count, timestamp)) { in updateEntriesForWordWithNgramContext()
|
D | Dictionary.java | 111 public boolean isValidWord(final String word) { in isValidWord() method in Dictionary
|
D | ExpandableBinaryDictionary.java | 369 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWord() argument 378 isValidWord, count, timestamp)) { in updateEntriesForWord()
|
D | PersonalDictionaryLookup.java | 394 public boolean isValidWord(@Nonnull final String word, @Nonnull final Locale inputLocale) { in isValidWord() method in PersonalDictionaryLookup
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 374 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext() argument 381 false : isValidWord; in updateEntriesForWordWithNgramContext() 393 if (!isValidWord) { in updateEntriesForWordWithNgramContext()
|
D | ver4_patricia_trie_policy.h | 100 const CodePointArrayView wordCodePoints, const bool isValidWord,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
D | dictionary_structure_with_buffer_policy.h | 91 const CodePointArrayView wordCodePoints, const bool isValidWord,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.h | 110 const CodePointArrayView wordCodePoints, const bool isValidWord, in updateEntriesForWordWithNgramContext() argument
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.h | 121 const CodePointArrayView wordCodePoints, const bool isValidWord,
|
D | ver4_patricia_trie_policy.cpp | 451 const bool isValidWord, const HistoricalInfo historicalInfo) { in updateEntriesForWordWithNgramContext() argument 457 const int probability = isValidWord ? DUMMY_PROBABILITY_FOR_VALID_WORDS : NOT_A_PROBABILITY; in updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionary.java | 132 public boolean isValidWord(final String word) { in isValidWord() method in UserHistoryDictionary
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 437 jbooleanArray isBeginningOfSentenceArray, jintArray word, jboolean isValidWord, jint count, in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext() argument 451 CodePointArrayView(wordCodePoints, codePointCount), isValidWord == JNI_TRUE, in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext()
|