Searched refs:isNthPrevWordBeginningOfSentence (Results 1 – 9 of 9) sorted by relevance
302 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()
62 bool isNthPrevWordBeginningOfSentence(const size_t n) const;
81 bool NgramContext::isNthPrevWordBeginningOfSentence(const size_t n) const { in isNthPrevWordBeginningOfSentence() function in latinime::NgramContext
374 if (ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */)) { in addNgramEntry()464 const int probabilityForNgram = ngramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in updateEntriesForWordWithNgramContext()
81 if (ngramProperty.mNgramContext.isNthPrevWordBeginningOfSentence(i + 1)) { in formatWordProperty()
70 ngramContext->isNthPrevWordBeginningOfSentence(i + 1)); in outputWordProperty()
72 if (mNgramContext->isNthPrevWordBeginningOfSentence(1 /* n */) in onVisitEntry()
201 public boolean isNthPrevWordBeginningOfSentence(final int n) { in isNthPrevWordBeginningOfSentence() method in NgramContext
189 "abc def", mSpacingAndPunctuations, 2).isNthPrevWordBeginningOfSentence(2)); in testGetPreviousWord()