Searched refs:addNgramEntry (Results 1 - 19 of 19) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
H A Ddynamic_pt_updating_helper.h48 bool addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, const int wordPos,
H A Dpt_node_writer.h74 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
H A Ddynamic_pt_updating_helper.cpp84 bool DynamicPtUpdatingHelper::addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, function in class:latinime::DynamicPtUpdatingHelper
99 return mPtNodeWriter->addNgramEntry(prevWordIds, wordId, ngramProperty, outAddedNewEntry);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
H A Ddictionary_structure_with_buffer_policy.h83 virtual bool addNgramEntry(const NgramProperty *const ngramProperty) = 0;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_node_writer.h75 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
H A Dver4_patricia_trie_policy.h94 bool addNgramEntry(const NgramProperty *const ngramProperty);
H A Dver4_patricia_trie_node_writer.cpp206 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, function in class:latinime::Ver4PatriciaTrieNodeWriter
H A Dver4_patricia_trie_policy.cpp272 bool Ver4PatriciaTriePolicy::addNgramEntry(const NgramProperty *const ngramProperty) { function in class:latinime::Ver4PatriciaTriePolicy
274 AKLOGI("Warning: addNgramEntry() is called for non-updatable dictionary.");
323 if (mNodeWriter.addNgramEntry(prevWordIds, wordId, ngramProperty, &addedNewEntry)) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_node_writer.h96 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
H A Dver4_patricia_trie_policy.h115 bool addNgramEntry(const NgramProperty *const ngramProperty);
H A Dver4_patricia_trie_policy.cpp347 bool Ver4PatriciaTriePolicy::addNgramEntry(const NgramProperty *const ngramProperty) { function in class:latinime::backward::v402::Ver4PatriciaTriePolicy
349 AKLOGI("Warning: addNgramEntry() is called for non-updatable dictionary.");
397 if (mUpdatingHelper.addNgramEntry(PtNodePosArrayView::singleElementView(&prevWordPtNodePos),
468 if (!addNgramEntry(&ngramProperty)) {
H A Dver4_patricia_trie_node_writer.cpp234 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, function in class:latinime::backward::v402::Ver4PatriciaTrieNodeWriter
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dpatricia_trie_policy.h96 bool addNgramEntry(const NgramProperty *const ngramProperty) { function in class:latinime::PatriciaTriePolicy
98 AKLOGI("Warning: addNgramEntry() is called for non-updatable dictionary.");
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddictionary.h89 bool addNgramEntry(const NgramProperty *const ngramProperty);
H A Ddictionary.cpp146 bool Dictionary::addNgramEntry(const NgramProperty *const ngramProperty) { function in class:latinime::Dictionary
148 return mDictionaryStructureWithBufferPolicy->addNgramEntry(ngramProperty);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DBinaryDictionaryTests.java185 binaryDictionary.addNgramEntry(new NgramContext(new WordInfo(word0)), word1, probability,
191 binaryDictionary.addNgramEntry(
869 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "aaa", bigramProbability,
873 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "aaa", bigramProbability,
876 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "bbb", bigramProbability,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, method in class:ExpandableBinaryDictionary
357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) {
H A DBinaryDictionary.java475 public boolean addNgramEntry(final NgramContext ngramContext, final String word, method in class:BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp415 return dictionary->addNgramEntry(&ngramProperty);
608 if (!dictionaryStructureWithBufferPolicy->addNgramEntry(&ngramProperty)) {

Completed in 281 milliseconds