Searched refs:mNgramContext (Results 1 – 7 of 7) sorted by relevance
23 public final NgramContext mNgramContext; field in NgramProperty27 mNgramContext = ngramContext; in NgramProperty()32 return mTargetWord.hashCode() ^ mNgramContext.hashCode(); in hashCode()40 return mTargetWord.equals(n.mTargetWord) && mNgramContext.equals(n.mNgramContext); in equals()
125 if (ngram.mNgramContext.getPrevWordCount() == 1) { in getBigrams()
32 : mNgramContext(ngramContext), mTargetCodePoints(std::move(targetCodePoints)), in NgramProperty()36 return &mNgramContext; in getNgramContext()56 const NgramContext mNgramContext; variable
78 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()
53 public final NgramContext mNgramContext; field in LastComposedWord78 mNgramContext = ngramContext; in LastComposedWord()
64 : mNgramContext(ngramContext), mPrevWordIds(prevWordIds), in NgramListenerForPrediction()72 if (mNgramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in onVisitEntry()
134 const NgramContext *const mNgramContext; variable