Home
last modified time | relevance | path

Searched refs:ngramContext_bos_b (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java61 final NgramContext ngramContext_bos_b = in testGetNextNgramContext() local
63 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() local
83 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() local
111 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext()); in testExtractPrevWordsContextArray()
112 assertEquals(3, ngramContext_bos_b.extractPrevWordsContextArray().length); in testExtractPrevWordsContextArray()
[all …]