Home
last modified time | relevance | path

Searched refs:addNgramEntry (Results 1 – 20 of 20) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp146 bool Dictionary::addNgramEntry(const NgramProperty *const ngramProperty) { in addNgramEntry() function in latinime::Dictionary
148 return mDictionaryStructureWithBufferPolicy->addNgramEntry(ngramProperty); in addNgramEntry()
Ddictionary.h89 bool addNgramEntry(const NgramProperty *const ngramProperty);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp347 bool Ver4PatriciaTriePolicy::addNgramEntry(const NgramProperty *const ngramProperty) { in addNgramEntry() function in latinime::backward::v402::Ver4PatriciaTriePolicy
397 if (mUpdatingHelper.addNgramEntry(PtNodePosArrayView::singleElementView(&prevWordPtNodePos), in addNgramEntry()
468 if (!addNgramEntry(&ngramProperty)) { in updateEntriesForWordWithNgramContext()
Dver4_patricia_trie_node_writer.h96 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Dver4_patricia_trie_policy.h115 bool addNgramEntry(const NgramProperty *const ngramProperty);
Dver4_patricia_trie_node_writer.cpp234 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry() function in latinime::backward::v402::Ver4PatriciaTrieNodeWriter
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java199 binaryDictionary.addNgramEntry(new NgramContext(new WordInfo(word0)), word1, probability, in addBigramWords()
205 binaryDictionary.addNgramEntry( in addTrigramEntry()
898 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "aaa", bigramProbability, in testBeginningOfSentence()
902 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "aaa", bigramProbability, in testBeginningOfSentence()
905 binaryDictionary.addNgramEntry(beginningOfSentenceContext, "bbb", bigramProbability, in testBeginningOfSentence()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp84 bool DynamicPtUpdatingHelper::addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, in addNgramEntry() function in latinime::DynamicPtUpdatingHelper
99 return mPtNodeWriter->addNgramEntry(prevWordIds, wordId, ngramProperty, outAddedNewEntry); in addNgramEntry()
Dpt_node_writer.h74 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Ddynamic_pt_updating_helper.h48 bool addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, const int wordPos,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.h75 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Dver4_patricia_trie_policy.cpp272 bool Ver4PatriciaTriePolicy::addNgramEntry(const NgramProperty *const ngramProperty) { in addNgramEntry() function in latinime::Ver4PatriciaTriePolicy
323 if (mNodeWriter.addNgramEntry(prevWordIds, wordId, ngramProperty, &addedNewEntry)) { in addNgramEntry()
Dver4_patricia_trie_policy.h94 bool addNgramEntry(const NgramProperty *const ngramProperty);
Dver4_patricia_trie_node_writer.cpp206 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry() function in latinime::Ver4PatriciaTrieNodeWriter
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_structure_with_buffer_policy.h83 virtual bool addNgramEntry(const NgramProperty *const ngramProperty) = 0;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntry() method in ExpandableBinaryDictionary
357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) { in addNgramEntryLocked()
DBinaryDictionary.java475 public boolean addNgramEntry(final NgramContext ngramContext, final String word, in addNgramEntry() method in BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h96 bool addNgramEntry(const NgramProperty *const ngramProperty) { in addNgramEntry() function
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java95 if (!binaryDict.addNgramEntry(ngramContext, word1.mWord, in writeDictionary()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp415 return dictionary->addNgramEntry(&ngramProperty); in latinime_BinaryDictionary_addNgramEntry()
608 if (!dictionaryStructureWithBufferPolicy->addNgramEntry(&ngramProperty)) { in latinime_BinaryDictionary_migrateNative()