Searched refs:ngrams (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 89 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/ |
D | jni_data_utils.cpp | 37 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/ |
D | word_property.h | 37 const std::vector<NgramProperty> &ngrams) in WordProperty() argument 39 mNgrams(ngrams) {} in WordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 437 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/ |
D | ver4_patricia_trie_policy.cpp | 514 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/ |
D | ver4_patricia_trie_policy.cpp | 563 std::vector<NgramProperty> ngrams; in getWordProperty() local 592 ngrams.emplace_back( in getWordProperty() 620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|