Home
last modified time | relevance | path

Searched refs:mNgrams (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java40 public final ArrayList<NgramProperty> mNgrams; field in WordProperty
57 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()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dword_property.h34 : mCodePoints(), mUnigramProperty(), mNgrams() {} in WordProperty()
39 mNgrams(ngrams) {} in WordProperty()
50 return mNgrams; in getNgramProperties()
59 const std::vector<NgramProperty> mNgrams; variable
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DInfo.java49 bigramCount += wordProperty.mNgrams.size(); in showInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java73 for (final NgramProperty ngramProperty : wordProperty.mNgrams) { in formatWordProperty()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java787 assertEquals(bigramWord1s.size(), wordProperty.mNgrams.size()); in testGetWordProperties()