Home
last modified time | relevance | path

Searched refs:mNgramContext (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DNgramProperty.java23 public final NgramContext mNgramContext; field in NgramProperty
27 mNgramContext = ngramContext; in NgramProperty()
32 return mTargetWord.hashCode() ^ mNgramContext.hashCode(); in hashCode()
40 return mTargetWord.equals(n.mTargetWord) && mNgramContext.equals(n.mNgramContext); in equals()
DWordProperty.java125 if (ngram.mNgramContext.getPrevWordCount() == 1) { in getBigrams()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_property.h32 : mNgramContext(ngramContext), mTargetCodePoints(std::move(targetCodePoints)), in NgramProperty()
36 return &mNgramContext; in getNgramContext()
56 const NgramContext mNgramContext; variable
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java78 for (int i = 0; i < ngramProperty.mNgramContext.getPrevWordCount(); i++) { in formatWordProperty()
80 + ngramProperty.mNgramContext.getNthPrevWord(i + 1)); in formatWordProperty()
81 if (ngramProperty.mNgramContext.isNthPrevWordBeginningOfSentence(i + 1)) { in formatWordProperty()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLastComposedWord.java53 public final NgramContext mNgramContext; field in LastComposedWord
78 mNgramContext = ngramContext; in LastComposedWord()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp64 : mNgramContext(ngramContext), mPrevWordIds(prevWordIds), in NgramListenerForPrediction()
72 if (mNgramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in onVisitEntry()
Ddictionary.h134 const NgramContext *const mNgramContext; variable