Searched refs:maxPrevWordCount (Results 1 – 2 of 2) sorted by relevance
46 public static NgramContext getEmptyPrevWordsContext(int maxPrevWordCount) { in getEmptyPrevWordsContext() argument47 return new NgramContext(maxPrevWordCount, WordInfo.EMPTY_WORD_INFO); in getEmptyPrevWordsContext()116 public NgramContext(final int maxPrevWordCount, final WordInfo... prevWordsInfo) { in NgramContext() argument119 mMaxPrevWordCount = maxPrevWordCount; in NgramContext()
47 int maxPrevWordCount = 0; in getWordAttributes() local54 maxPrevWordCount = i + 1; in getWordAttributes()63 for (int i = maxPrevWordCount; i >= 0; --i) { in getWordAttributes()