Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java51 assertFalse(new NgramContext().isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
53 .isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
54 assertTrue(NgramContext.BEGINNING_OF_SENTENCE.isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
55 assertFalse(new NgramContext(new WordInfo("a")).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
56 assertFalse(new NgramContext(new WordInfo("")).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
57 assertFalse(new NgramContext(WordInfo.EMPTY_WORD_INFO).isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
59 .isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
61 .isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
64 .isBeginningOfSentenceContext()); in testIsBeginningOfSentenceContext()
76 assertTrue(ngramContext_bos_b.isBeginningOfSentenceContext()); in testGetNextNgramContext()
[all …]
DRichInputConnectionAndTextRangeTests.java179 "abc def", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext()); in testGetPreviousWord()
181 "abc", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext()); in testGetPreviousWord()
205 "abc ", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext()); in testGetPreviousWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java186 public boolean isBeginningOfSentenceContext() { in isBeginningOfSentenceContext() method in NgramContext
DDictionaryFacilitatorImpl.java622 SuggestedWords.MAX_SUGGESTIONS, ngramContext.isBeginningOfSentenceContext(), in getSuggestionResults()