Searched refs:ngramContext_b_a (Results 1 – 1 of 1) sorted by relevance
57 final NgramContext ngramContext_b_a = in testGetNextNgramContext() local59 assertEquals("b", ngramContext_b_a.getNthPrevWord(1)); in testGetNextNgramContext()60 assertEquals("a", ngramContext_b_a.getNthPrevWord(2)); in testGetNextNgramContext()62 ngramContext_b_a.getNextNgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testGetNextNgramContext()66 ngramContext_b_a.getNextNgramContext(new WordInfo("c")); in testGetNextNgramContext()75 final NgramContext ngramContext_b_a = in testExtractPrevWordsContextTest() local77 assertEquals("b", ngramContext_b_a.getNthPrevWord(1)); in testExtractPrevWordsContextTest()78 assertEquals("a", ngramContext_b_a.getNthPrevWord(2)); in testExtractPrevWordsContextTest()79 assertEquals("a b", ngramContext_b_a.extractPrevWordsContext()); in testExtractPrevWordsContextTest()82 ngramContext_b_a.getNextNgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testExtractPrevWordsContextTest()[all …]