/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
ngram_context.h | 29 class NgramContext { 32 NgramContext(); 34 NgramContext(const NgramContext &ngramContext); 36 NgramContext(const int prevWordCodePoints[][MAX_WORD_LENGTH], 40 NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount, 65 DISALLOW_ASSIGNMENT_OPERATOR(NgramContext);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Suggest.java | 99 final NgramContext ngramContext, final Keyboard keyboard, 104 getSuggestedWordsForBatchInput(wordComposer, ngramContext, keyboard, 107 getSuggestedWordsForNonBatchInput(wordComposer, ngramContext, keyboard, 153 final NgramContext ngramContext, final Keyboard keyboard, 165 wordComposer.getComposedDataSnapshot(), ngramContext, keyboard, 290 final NgramContext ngramContext, final Keyboard keyboard, 295 wordComposer.getComposedDataSnapshot(), ngramContext, keyboard [all...] |
ExpandableBinaryDictionary.java | 340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, 350 addNgramEntryLocked(ngramContext, word, frequency, timestamp); 355 protected void addNgramEntryLocked(@Nonnull final NgramContext ngramContext, final String word, 357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) { 360 Log.i(TAG, " NgramContext: " + ngramContext + ", word: " + word); 366 * Update dictionary for the word with the ngramContext. 368 public void updateEntriesForWord(@Nonnull final NgramContext ngramContext [all...] |
DictionaryFacilitatorImpl.java | 27 import com.android.inputmethod.latin.NgramContext.WordInfo; 500 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds, 507 NgramContext ngramContextForCurrentWord = ngramContext; 543 final NgramContext ngramContext, final String word, final boolean wasAutoCapitalized, 589 UserHistoryDictionary.addToDictionary(userHistoryDictionary, ngramContext, secondWord, 602 @Nonnull final NgramContext ngramContext, final long timeStampInSeconds [all...] |
WordComposer.java | 419 final String separatorString, final NgramContext ngramContext) { 425 ngramContext, mCapitalizedMode);
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 245 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, 250 times, pointerIds, inputCodePoints, inputSize, &ngramContext, 253 dictionary->getPredictions(&ngramContext, &suggestionResults); 292 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, 295 return dictionary->getNgramProbability(&ngramContext, 405 const NgramContext ngramContext = JniDataUtils::constructNgramContext(env, 412 const NgramProperty ngramProperty(ngramContext, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerSession.java | 30 import com.android.inputmethod.latin.NgramContext; 68 final NgramContext ngramContext = 69 new NgramContext(new NgramContext.WordInfo(currentWord)); 214 final NgramContext ngramContext = 215 new NgramContext(new NgramContext.WordInfo(prevWord)); 217 retval[i] = onGetSuggestionsInternal(textInfo, ngramContext, suggestionsLimit) [all...] |
AndroidSpellCheckerService.java | 33 import com.android.inputmethod.latin.NgramContext; 172 final ComposedData composedData, final NgramContext ngramContext, 180 return dictionaryFacilitatorForLocale.getSuggestionResults(composedData, ngramContext,
|
AndroidWordLevelSpellCheckerSession.java | 32 import com.android.inputmethod.latin.NgramContext; 224 final TextInfo textInfo, final NgramContext ngramContext, final int suggestionsLimit) { 290 mLocale, composer.getComposedDataSnapshot(), ngramContext, keyboard);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.h | 33 class NgramContext; 64 void init(const Dictionary *dictionary, const NgramContext *const ngramContext,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
InputLogic.java | 41 import com.android.inputmethod.latin.NgramContext; 403 NgramContext.EMPTY_PREV_WORDS_INFO); [all...] |