Home
last modified time | relevance | path

Searched refs:addUnigramEntry (Results 1 – 13 of 13) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp179 bool Ver4PatriciaTriePolicy::addUnigramEntry(const CodePointArrayView wordCodePoints, in addUnigramEntry() function in latinime::Ver4PatriciaTriePolicy
309 if (!addUnigramEntry(ngramContext->getNthPrevWordCodePoints(1 /* n */), in addNgramEntry()
389 if (!addUnigramEntry(wordCodePoints, &unigramProperty)) { in updateEntriesForWordWithNgramContext()
408 if (!addUnigramEntry(ngramContext->getNthPrevWordCodePoints(1 /* n */), in updateEntriesForWordWithNgramContext()
Dver4_patricia_trie_policy.h89 bool addUnigramEntry(const CodePointArrayView wordCodePoints,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp129 bool Dictionary::addUnigramEntry(const CodePointArrayView codePoints, in addUnigramEntry() function in latinime::Dictionary
138 return mDictionaryStructureWithBufferPolicy->addUnigramEntry(codePoints, unigramProperty); in addUnigramEntry()
Ddictionary.h84 bool addUnigramEntry(const CodePointArrayView codePoints,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp266 bool Ver4PatriciaTriePolicy::addUnigramEntry(const CodePointArrayView wordCodePoints, in addUnigramEntry() function in latinime::backward::v402::Ver4PatriciaTriePolicy
378 if (!addUnigramEntry(ngramContext->getNthPrevWordCodePoints(1 /* n */), in addNgramEntry()
460 if (!addUnigramEntry(wordCodePoints, &unigramProperty)) { in updateEntriesForWordWithNgramContext()
Dver4_patricia_trie_policy.h110 bool addUnigramEntry(const CodePointArrayView wordCodePoints,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java173 binaryDictionary.addUnigramEntry("a", probability, false /* isBeginningOfSentence */, in testAddTooLongWord()
191 binaryDictionary.addUnigramEntry(word, probability, in addUnigramWord()
738 binaryDictionary.addUnigramEntry(word, unigramProbability, in testGetWordProperties()
886 binaryDictionary.addUnigramEntry("ddd", 100, false, true, true, 0); in testPossiblyOffensiveAttributeMaintained()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_structure_with_buffer_policy.h76 virtual bool addUnigramEntry(const CodePointArrayView wordCodePoints,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h83 bool addUnigramEntry(const CodePointArrayView wordCodePoints, in addUnigramEntry() function
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java77 if (!binaryDict.addUnigramEntry(wordProperty.mWord, wordProperty.getProbability(), in writeDictionary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java297 public void addUnigramEntry(final String word, final int frequency, in addUnigramEntry() method in ExpandableBinaryDictionary
309 if (!mBinaryDictionary.addUnigramEntry(word, frequency, in addUnigramLocked()
DBinaryDictionary.java445 public boolean addUnigramEntry( in addUnigramEntry() method in BinaryDictionary
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp382 return dictionary->addUnigramEntry(CodePointArrayView(codePoints, codePointCount), in latinime_BinaryDictionary_addUnigramEntry()
586 if (!dictionaryStructureWithBufferPolicy->addUnigramEntry( in latinime_BinaryDictionary_migrateNative()