Searched refs:mNgrams (Results 1 – 5 of 5) sorted by relevance
40 public final ArrayList<NgramProperty> mNgrams; field in WordProperty57 mNgrams = null; in WordProperty()59 mNgrams = new ArrayList<>(); in WordProperty()62 mNgrams.add(new NgramProperty(bigramTarget, ngramContext)); in WordProperty()114 mNgrams = ngrams.isEmpty() ? null : ngrams; in WordProperty()120 if (null == mNgrams) { in getBigrams()124 for (final NgramProperty ngram : mNgrams) { in getBigrams()140 word.mNgrams, in computeHashCode()171 && mWord.equals(w.mWord) && equals(mNgrams, w.mNgrams) in equals()
34 : mCodePoints(), mUnigramProperty(), mNgrams() {} in WordProperty()39 mNgrams(ngrams) {} in WordProperty()50 return mNgrams; in getNgramProperties()59 const std::vector<NgramProperty> mNgrams; variable
49 bigramCount += wordProperty.mNgrams.size(); in showInfo()
73 for (final NgramProperty ngramProperty : wordProperty.mNgrams) { in formatWordProperty()
787 assertEquals(bigramWord1s.size(), wordProperty.mNgrams.size()); in testGetWordProperties()