Searched refs:mPrevWordsCount (Results 1 – 2 of 2) sorted by relevance
107 private final int mPrevWordsCount; field in NgramContext118 mPrevWordsCount = prevWordsInfo.length; in NgramContext()127 final int nextPrevWordCount = Math.min(mMaxPrevWordCount, mPrevWordsCount + 1); in getNextNgramContext()183 return mPrevWordsCount > 0 && mPrevWordsInfo[0].isValid(); in isValid()187 return mPrevWordsCount > 0 && mPrevWordsInfo[0].mIsBeginningOfSentence; in isBeginningOfSentenceContext()193 if (n <= 0 || n > mPrevWordsCount) { in getNthPrevWord()202 if (n <= 0 || n > mPrevWordsCount) { in isNthPrevWordBeginningOfSentence()210 for (int i = 0; i < mPrevWordsCount; i++) { in outputToArray()223 return mPrevWordsCount; in getPrevWordCount()244 final int minLength = Math.min(mPrevWordsCount, prevWordsInfo.mPrevWordsCount); in equals()[all …]
38 public final int mPrevWordsCount; field in WordInputEventForPersonalization50 mPrevWordsCount = ngramContext.getPrevWordCount(); in WordInputEventForPersonalization()