Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryDecayingTests.java81 binaryDictionary.addNgramEntry(new PrevWordsInfo(new WordInfo(word0)), word1, probability, in addBigramWords()
666 binaryDictionary.addNgramEntry(prevWordsInfoStartOfSentence, "aaa", DUMMY_PROBABILITY,
669 binaryDictionary.addNgramEntry(prevWordsInfoStartOfSentence, "aaa", DUMMY_PROBABILITY,
672 binaryDictionary.addNgramEntry(prevWordsInfoStartOfSentence, "bbb", DUMMY_PROBABILITY,
682 binaryDictionary.addNgramEntry(prevWordsInfoStartOfSentence, "aaa", DUMMY_PROBABILITY,
685 binaryDictionary.addNgramEntry(prevWordsInfoStartOfSentence, "bbb", DUMMY_PROBABILITY,
DBinaryDictionaryTests.java207 binaryDictionary.addNgramEntry(new PrevWordsInfo(new WordInfo(word0)), word1, probability, in addBigramWords()
1345 binaryDictionary.addNgramEntry(PrevWordsInfo.BEGINNING_OF_SENTENCE, in testDictMigration()
1472 binaryDictionary.addNgramEntry(prevWordsInfoBeginningOfSentence, "aaa", bigramProbability, in testBeginningOfSentence()
1476 binaryDictionary.addNgramEntry(prevWordsInfoBeginningOfSentence, "aaa", bigramProbability, in testBeginningOfSentence()
1479 binaryDictionary.addNgramEntry(prevWordsInfoBeginningOfSentence, "bbb", bigramProbability, in testBeginningOfSentence()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionary.java81 userHistoryDictionary.addNgramEntry(prevWordsInfo, word, in addToDictionary()
84 userHistoryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp); in addToDictionary()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp146 bool Dictionary::addNgramEntry(const PrevWordsInfo *const prevWordsInfo, in addNgramEntry() function in latinime::Dictionary
149 return mDictionaryStructureWithBufferPolicy->addNgramEntry(prevWordsInfo, bigramProperty); in addNgramEntry()
Ddictionary.h86 bool addNgramEntry(const PrevWordsInfo *const prevWordsInfo,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp400 return dictionary->addNgramEntry(&prevWordsInfo, &bigramProperty); in latinime_BinaryDictionary_addNgramEntry()
496 dictionary->addNgramEntry(&prevWordsInfo, &bigramProperty); in latinime_BinaryDictionary_addMultipleDictionaryEntries()
607 if (!dictionaryStructureWithBufferPolicy->addNgramEntry(&prevWordsInfo, in latinime_BinaryDictionary_migrateNative()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp87 bool DynamicPtUpdatingHelper::addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, in addNgramEntry() function in latinime::DynamicPtUpdatingHelper
102 return mPtNodeWriter->addNgramEntry(prevWordIds, wordId, bigramProperty, outAddedNewEntry); in addNgramEntry()
Dpt_node_writer.h74 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Ddynamic_pt_updating_helper.h47 bool addNgramEntry(const PtNodePosArrayView prevWordsPtNodePos, const int wordPos,
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp272 bool Ver4PatriciaTriePolicy::addNgramEntry(const PrevWordsInfo *const prevWordsInfo, in addNgramEntry() function in latinime::Ver4PatriciaTriePolicy
324 if (mUpdatingHelper.addNgramEntry(prevWordsPtNodePosView, word1Pos, bigramProperty, in addNgramEntry()
Dver4_patricia_trie_node_writer.h78 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Dver4_patricia_trie_policy.h95 bool addNgramEntry(const PrevWordsInfo *const prevWordsInfo,
Dver4_patricia_trie_node_writer.cpp225 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry() function in latinime::Ver4PatriciaTrieNodeWriter
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp261 bool Ver4PatriciaTriePolicy::addNgramEntry(const PrevWordsInfo *const prevWordsInfo, in addNgramEntry() function in latinime::backward::v402::Ver4PatriciaTriePolicy
312 if (mUpdatingHelper.addNgramEntry(PtNodePosArrayView::fromObject(prevWordsPtNodePos), in addNgramEntry()
Dver4_patricia_trie_node_writer.h96 virtual bool addNgramEntry(const WordIdArrayView prevWordIds, const int wordId,
Dver4_patricia_trie_policy.h116 bool addNgramEntry(const PrevWordsInfo *const prevWordsInfo,
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/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java358 public void addNgramEntry(final PrevWordsInfo prevWordsInfo, final String word, in addNgramEntry() method in ExpandableBinaryDictionary
375 if (!mBinaryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp)) { in addNgramEntryLocked()
DDictionaryFacilitator.java633 contextualDict.addNgramEntry(prevWordsInfo, subPhraseStr, in addPhraseToContextualDictionary()
643 contextualDict.addNgramEntry(prevWordsInfo, phrase[i], in addPhraseToContextualDictionary()
DBinaryDictionary.java456 public boolean addNgramEntry(final PrevWordsInfo prevWordsInfo, final String word, in addNgramEntry() method in BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Ddictionary_structure_with_buffer_policy.h80 virtual bool addNgramEntry(const PrevWordsInfo *const prevWordsInfo,
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
Dpatricia_trie_policy.h98 bool addNgramEntry(const PrevWordsInfo *const prevWordsInfo, in addNgramEntry() function
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java109 if (!binaryDict.addNgramEntry(prevWordsInfo, word1.mWord, in writeDictionary()