Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java41 assertEquals(new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO), in testConstruct()
42 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO)); in testConstruct()
52 assertTrue(new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()
58 assertTrue(new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO, new WordInfo("a")) in testIsBeginningOfSentenceContext()
60 assertFalse(new NgramContext(new WordInfo("a"), WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()
63 WordInfo.EMPTY_WORD_INFO, WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO) in testIsBeginningOfSentenceContext()
75 ngramContext_b_a.getNextNgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testGetNextNgramContext()
86 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testExtractPrevWordsContextTest()
96 ngramContext_b_a.getNextNgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testExtractPrevWordsContextTest()
112 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in testExtractPrevWordsContextArray()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DNgramContextUtils.java64 return new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO); in getNgramContextFromNthPreviousWord()
86 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO; in getNgramContextFromNthPreviousWord()
94 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO; in getNgramContextFromNthPreviousWord()
100 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO; in getNgramContextFromNthPreviousWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java40 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO);
57 public static final WordInfo BEGINNING_OF_SENTENCE_WORD_INFO = new WordInfo(); field in NgramContext.WordInfo
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java107 ? WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO in WordProperty()