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

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
NgramContextTests.java 39 assertFalse(new NgramContext().isBeginningOfSentenceContext());
41 .isBeginningOfSentenceContext());
42 assertTrue(NgramContext.BEGINNING_OF_SENTENCE.isBeginningOfSentenceContext());
43 assertFalse(new NgramContext(new WordInfo("a")).isBeginningOfSentenceContext());
44 assertFalse(new NgramContext(new WordInfo("")).isBeginningOfSentenceContext());
45 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext());
47 .isBeginningOfSentenceContext());
49 .isBeginningOfSentenceContext());
52 .isBeginningOfSentenceContext());
63 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext());
    [all...]
RichInputConnectionAndTextRangeTests.java 169 "abc def", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext());
171 "abc", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext());
195 "abc ", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext());
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
NgramContext.java 186 public boolean isBeginningOfSentenceContext() {
DictionaryFacilitatorImpl.java 622 SuggestedWords.MAX_SUGGESTIONS, ngramContext.isBeginningOfSentenceContext(),

Completed in 344 milliseconds