Lines Matching refs:unigramProperty
180 const UnigramProperty *const unigramProperty) {
195 for (const auto &shortcut : unigramProperty->getShortcuts()) {
208 if (unigramProperty->representsBeginningOfSentence()) {
216 if (mUpdatingHelper.addUnigramWord(&readingHelper, codePointArrayView, unigramProperty,
218 if (addedNewUnigram && !unigramProperty->representsBeginningOfSentence()) {
221 if (unigramProperty->getShortcuts().size() > 0) {
230 for (const auto &shortcut : unigramProperty->getShortcuts()) {
385 const UnigramProperty unigramProperty(false /* representsBeginningOfSentence */,
389 if (!addUnigramEntry(wordCodePoints, &unigramProperty)) {
565 const UnigramProperty unigramProperty(probabilityEntry.representsBeginningOfSentence(),
569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams);