Searched refs:extractPrevWordsContext (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | NgramContextTests.java | 87 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/ |
D | NgramContext.java | 140 public String extractPrevWordsContext() { in extractPrevWordsContext() method in NgramContext
|