Home
last modified time | relevance | path

Searched refs:isNthPrevWordBeginningOfSentence (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp302 if (!ngramContext->isNthPrevWordBeginningOfSentence(i + 1 /* n */)) { in addNgramEntry()
380 const bool updateAsAValidWord = ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */) ? in updateEntriesForWordWithNgramContext()
402 if (ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */)) { in updateEntriesForWordWithNgramContext()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp374 if (ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */)) { in addNgramEntry()
464 const int probabilityForNgram = ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in updateEntriesForWordWithNgramContext()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.h62 bool isNthPrevWordBeginningOfSentence(const size_t n) const;
Dngram_context.cpp81 bool NgramContext::isNthPrevWordBeginningOfSentence(const size_t n) const { in isNthPrevWordBeginningOfSentence() function in latinime::NgramContext
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java81 if (ngramProperty.mNgramContext.isNthPrevWordBeginningOfSentence(i + 1)) { in formatWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp70 ngramContext->isNthPrevWordBeginningOfSentence(i + 1)); in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp72 if (mNgramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in onVisitEntry()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java201 public boolean isNthPrevWordBeginningOfSentence(final int n) { in isNthPrevWordBeginningOfSentence() method in NgramContext
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputConnectionAndTextRangeTests.java179 "abc def", mSpacingAndPunctuations, 2).isNthPrevWordBeginningOfSentence(2)); in testGetPreviousWord()