Home
last modified time | relevance | path

Searched refs:ngrams (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java89 final ArrayList<NgramProperty> ngrams = new ArrayList<>(); in WordProperty() local
112 ngrams.add(new NgramProperty(ngramTarget, ngramContext)); in WordProperty()
114 mNgrams = ngrams.isEmpty() ? null : ngrams; in WordProperty()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp37 const std::vector<NgramProperty> &ngrams = wordProperty.getNgramProperties(); in outputWordProperty() local
39 !ngrams.empty(), unigramProperty.hasShortcuts(), in outputWordProperty()
55 for (const auto &ngramProperty : ngrams) { in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dword_property.h37 const std::vector<NgramProperty> &ngrams) in WordProperty() argument
39 mNgrams(ngrams) {} in WordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp437 std::vector<NgramProperty> ngrams; in getWordProperty() local
451 ngrams.emplace_back( in getWordProperty()
481 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp514 std::vector<NgramProperty> ngrams; in getWordProperty() local
539 ngrams.emplace_back(ngramContext, in getWordProperty()
569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp563 std::vector<NgramProperty> ngrams; in getWordProperty() local
592 ngrams.emplace_back( in getWordProperty()
620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()