Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java87 assertEquals("<S>", ngramContext_bos.extractPrevWordsContext()); in testExtractPrevWordsContextTest()
93 assertEquals("a b", ngramContext_b_a.extractPrevWordsContext()); in testExtractPrevWordsContextTest()
99 assertEquals("a b <S>", ngramContext_bos_b.extractPrevWordsContext()); in testExtractPrevWordsContextTest()
102 assertEquals("", ngramContext_empty.extractPrevWordsContext()); in testExtractPrevWordsContextTest()
106 assertEquals("a", ngramContext_a_empty.extractPrevWordsContext()); in testExtractPrevWordsContextTest()
113 assertEquals("<S>", ngramContext_bos.extractPrevWordsContext()); in testExtractPrevWordsContextArray()
146 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
148 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
150 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
152 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java140 public String extractPrevWordsContext() { in extractPrevWordsContext() method in NgramContext