Searched refs:EMPTY_WORD_INFO (Results 1 – 3 of 3) sorted by relevance
32 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()33 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()34 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()35 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()45 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()51 WordInfo.EMPTY_WORD_INFO, WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()87 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextTest()118 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextArray()
37 new NgramContext(WordInfo.EMPTY_WORD_INFO);47 return new NgramContext(maxPrevWordCount, WordInfo.EMPTY_WORD_INFO); in getEmptyPrevWordsContext()55 public static final WordInfo EMPTY_WORD_INFO = new WordInfo(null); field in NgramContext.WordInfo230 if (wordInfo == null || !WordInfo.EMPTY_WORD_INFO.equals(wordInfo)) { in hashCode()261 && !WordInfo.EMPTY_WORD_INFO.equals(longerWordsInfo[i])) { in equals()
69 Arrays.fill(prevWordsInfo, WordInfo.EMPTY_WORD_INFO); in getNgramContextFromNthPreviousWord()