Searched refs:ngramContext_bos_b (Results 1 – 1 of 1) sorted by relevance
61 final NgramContext ngramContext_bos_b = in testGetNextNgramContext() local63 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext()); in testGetNextNgramContext()64 assertEquals("b", ngramContext_bos_b.getNthPrevWord(2)); in testGetNextNgramContext()81 final NgramContext ngramContext_bos_b = in testExtractPrevWordsContextTest() local83 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext()); in testExtractPrevWordsContextTest()84 assertEquals("b", ngramContext_bos_b.getNthPrevWord(2)); in testExtractPrevWordsContextTest()85 assertEquals("a b <S>", ngramContext_bos_b.extractPrevWordsContext()); in testExtractPrevWordsContextTest()109 final NgramContext ngramContext_bos_b = in testExtractPrevWordsContextArray() local111 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext()); in testExtractPrevWordsContextArray()112 assertEquals(3, ngramContext_bos_b.extractPrevWordsContextArray().length); in testExtractPrevWordsContextArray()[all …]