Searched refs:EMPTY_WORD_INFO (Results 1 – 3 of 3) sorted by relevance
43 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()44 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()45 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO), in testConstruct()46 new NgramContext(WordInfo.EMPTY_WORD_INFO)); in testConstruct()57 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()63 WordInfo.EMPTY_WORD_INFO, WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()101 final NgramContext ngramContext_empty = new NgramContext(WordInfo.EMPTY_WORD_INFO); in testExtractPrevWordsContextTest()133 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()