/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | WordInputEventForPersonalization.java | 48 final NgramContext ngramContext, final int timestamp) { in WordInputEventForPersonalization() 62 NgramContext ngramContext = NgramContext.EMPTY_PREV_WORDS_INFO; in createInputEventFrom() local 99 final NgramContext ngramContext, final String targetWord, final int timestamp, in detectWhetherVaildWordOrNotAndGetInputEvent()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 49 int inputSize, const NgramContext *const ngramContext, in getSuggestions() 61 const NgramContext *const ngramContext, const WordIdArrayView prevWordIds, in NgramListenerForPrediction() 91 void Dictionary::getPredictions(const NgramContext *const ngramContext, in getPredictions() 113 int Dictionary::getNgramProbability(const NgramContext *const ngramContext, in getNgramProbability() 151 bool Dictionary::removeNgramEntry(const NgramContext *const ngramContext, in removeNgramEntry() 157 bool Dictionary::updateEntriesForWordWithNgramContext(const NgramContext *const ngramContext, in updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | NgramProperty.java | 25 public NgramProperty(final WeightedString targetWord, final NgramContext ngramContext) { in NgramProperty()
|
D | WordProperty.java | 60 final NgramContext ngramContext = new NgramContext(new WordInfo(mWord)); in WordProperty() local 111 final NgramContext ngramContext = new NgramContext(wordInfoArray); in WordProperty() local
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.h | 102 bool removeNgramEntry(const NgramContext *const ngramContext, in removeNgramEntry() 109 bool updateEntriesForWordWithNgramContext(const NgramContext *const ngramContext, in updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_property.h | 30 NgramProperty(const NgramContext &ngramContext, const std::vector<int> &&targetCodePoints, in NgramProperty()
|
D | ngram_context.cpp | 26 NgramContext::NgramContext(const NgramContext &ngramContext) in NgramContext()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitator.java | 152 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds, in addToUserHistory() 156 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds, in unlearnFromUserHistory() 161 final NgramContext ngramContext, @Nonnull final Keyboard keyboard, in getSuggestionResults()
|
D | Dictionary.java | 100 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions() 204 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
|
D | Suggest.java | 99 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWords() 153 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWordsForNonBatchInput() 290 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWordsForBatchInput()
|
D | ExpandableBinaryDictionary.java | 340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntry() 355 protected void addNgramEntryLocked(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntryLocked() 368 public void updateEntriesForWord(@Nonnull final NgramContext ngramContext, in updateEntriesForWord() 430 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
|
D | LastComposedWord.java | 69 final NgramContext ngramContext, final int capitalizedMode) { in LastComposedWord()
|
D | ReadOnlyBinaryDictionary.java | 54 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
|
D | ContactsBinaryDictionary.java | 135 NgramContext ngramContext = NgramContext.getEmptyPrevWordsContext( in addNameLocked() local
|
D | DictionaryCollection.java | 63 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
|
D | DictionaryFacilitatorImpl.java | 500 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds, in addToUserHistory() 543 final NgramContext ngramContext, final String word, final boolean wasAutoCapitalized, in addWordToUserHistory() 602 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds, in unlearnFromUserHistory() 617 NgramContext ngramContext, @Nonnull final Keyboard keyboard, in getSuggestionResults()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 68 final NgramContext ngramContext = in fixWronglyInvalidatedWordWithSingleQuote() local 214 final NgramContext ngramContext = in onGetSuggestionsMultiple() local
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 282 const NgramContext *const ngramContext = ngramProperty->getNgramContext(); in addNgramEntry() local 334 bool Ver4PatriciaTriePolicy::removeNgramEntry(const NgramContext *const ngramContext, in removeNgramEntry() 373 const NgramContext *const ngramContext, const CodePointArrayView wordCodePoints, in updateEntriesForWordWithNgramContext() 534 const NgramContext ngramContext(ngramPrevWordsCodePoints, ngramPrevWordsCodePointCount, in getWordProperty() local
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 49 NgramContext ngramContext(prevWord, previousWordLength, false /* isStartOfSentence */); in latinime_initDicTraverseSession() local
|
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 245 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_getSuggestions() local 292 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_getNgramProbability() local 405 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_addNgramEntry() local 425 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_removeNgramEntry() local 443 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext() local 495 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, in latinime_BinaryDictionary_updateEntriesForInputEvents() local
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
D | dic_traverse_session.cpp | 33 const NgramContext *const ngramContext, const SuggestOptions *const suggestOptions) { in init()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTestsHelper.java | 102 NgramContext ngramContext = NgramContext.getEmptyPrevWordsContext( in addWordsToDictionary() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionary.java | 100 @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, in addToDictionary()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 357 const NgramContext *const ngramContext = ngramProperty->getNgramContext(); in addNgramEntry() local 408 bool Ver4PatriciaTriePolicy::removeNgramEntry(const NgramContext *const ngramContext, in removeNgramEntry() 450 const NgramContext *const ngramContext, const CodePointArrayView wordCodePoints, in updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 56 const NgramContext *const ngramContext = ngramProperty.getNgramContext(); in outputWordProperty() local
|