HomeSort by relevance Sort by last modified time
    Searched refs:getNthPrevWord (Results 1 - 4 of 4) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
NgramContextTests.java 59 assertEquals("b", ngramContext_b_a.getNthPrevWord(1));
60 assertEquals("a", ngramContext_b_a.getNthPrevWord(2));
64 assertEquals("b", ngramContext_bos_b.getNthPrevWord(2));
67 assertEquals("c", ngramContext_c_bos.getNthPrevWord(1));
77 assertEquals("b", ngramContext_b_a.getNthPrevWord(1));
78 assertEquals("a", ngramContext_b_a.getNthPrevWord(2));
84 assertEquals("b", ngramContext_bos_b.getNthPrevWord(2));
91 assertEquals("a", ngramContext_a_empty.getNthPrevWord(1));
104 assertEquals("b", ngramContext_b_a.getNthPrevWord(1));
105 assertEquals("a", ngramContext_b_a.getNthPrevWord(2))
    [all...]
RichInputConnectionAndTextRangeTests.java 162 "abc def", mSpacingAndPunctuations, 2).getNthPrevWord(1), "abc");
175 "abc def", mSpacingAndPunctuations, 1).getNthPrevWord(1), "def");
177 "abc def", mSpacingAndPunctuations, 1).getNthPrevWord(2), "abc");
189 "abc def ", mSpacingAndPunctuations, 2).getNthPrevWord(1), "abc");
191 "abc def.", mSpacingAndPunctuations, 2).getNthPrevWord(1), "abc");
193 "abc def .", mSpacingAndPunctuations, 2).getNthPrevWord(1), "def");
198 "abc def", mSpacingAndPunctuations, 1).getNthPrevWord(1), "def");
200 "abc def ", mSpacingAndPunctuations, 1).getNthPrevWord(1), "def");
202 "abc 'def", mSpacingAndPunctuations, 1).getNthPrevWord(1), "'def");
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CombinedFormatUtils.java 80 + ngramProperty.mNgramContext.getNthPrevWord(i + 1));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
NgramContext.java 192 public CharSequence getNthPrevWord(final int n) {

Completed in 126 milliseconds