Home
last modified time | relevance | path

Searched defs:ngramContext (Results 1 – 25 of 30) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DWordInputEventForPersonalization.java48 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/
Ddictionary.cpp49 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/
DNgramProperty.java25 public NgramProperty(final WeightedString targetWord, final NgramContext ngramContext) { in NgramProperty()
DWordProperty.java60 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/
Dpatricia_trie_policy.h102 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/
Dngram_property.h30 NgramProperty(const NgramContext &ngramContext, const std::vector<int> &&targetCodePoints, in NgramProperty()
Dngram_context.cpp26 NgramContext::NgramContext(const NgramContext &ngramContext) in NgramContext()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitator.java152 @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()
DDictionary.java100 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
204 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
DSuggest.java99 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()
DExpandableBinaryDictionary.java340 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()
DLastComposedWord.java69 final NgramContext ngramContext, final int capitalizedMode) { in LastComposedWord()
DReadOnlyBinaryDictionary.java54 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
DContactsBinaryDictionary.java135 NgramContext ngramContext = NgramContext.getEmptyPrevWordsContext( in addNameLocked() local
DDictionaryCollection.java63 final NgramContext ngramContext, final long proximityInfoHandle, in getSuggestions()
DDictionaryFacilitatorImpl.java500 @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/
DAndroidSpellCheckerSession.java68 final NgramContext ngramContext = in fixWronglyInvalidatedWordWithSingleQuote() local
214 final NgramContext ngramContext = in onGetSuggestionsMultiple() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp282 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/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp49 NgramContext ngramContext(prevWord, previousWordLength, false /* isStartOfSentence */); in latinime_initDicTraverseSession() local
Dcom_android_inputmethod_latin_BinaryDictionary.cpp245 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/
Ddic_traverse_session.cpp33 const NgramContext *const ngramContext, const SuggestOptions *const suggestOptions) { in init()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTestsHelper.java102 NgramContext ngramContext = NgramContext.getEmptyPrevWordsContext( in addWordsToDictionary() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionary.java100 @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, in addToDictionary()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp357 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/
Djni_data_utils.cpp56 const NgramContext *const ngramContext = ngramProperty.getNgramContext(); in outputWordProperty() local

12