Home
last modified time | relevance | path

Searched refs:addUnigramWord (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryDecayingTests.java71 private void addUnigramWord(final BinaryDictionary binaryDictionary, final String word, in addUnigramWord() method in BinaryDictionaryDecayingTests
165 addUnigramWord(binaryDictionary, "a", DUMMY_PROBABILITY); in testReadDictInJavaSide()
166 addUnigramWord(binaryDictionary, "ab", DUMMY_PROBABILITY); in testReadDictInJavaSide()
167 addUnigramWord(binaryDictionary, "aaa", DUMMY_PROBABILITY); in testReadDictInJavaSide()
227 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY); in testAddValidAndInvalidWords()
229 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY); in testAddValidAndInvalidWords()
230 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY); in testAddValidAndInvalidWords()
233 addUnigramWord(binaryDictionary, "b", DUMMY_PROBABILITY); in testAddValidAndInvalidWords()
241 addUnigramWord(binaryDictionary, "c", DUMMY_PROBABILITY); in testAddValidAndInvalidWords()
272 addUnigramWord(binaryDictionary, "a", DUMMY_PROBABILITY); in testDecayingProbability()
[all …]
DBinaryDictionaryTests.java137 addUnigramWord(binaryDictionary, "word", probability); in testConstructingDictionaryOnMemory()
174 addUnigramWord(binaryDictionary, "aaa", probability); in testAddTooLongWord()
175 addUnigramWord(binaryDictionary, validLongWord, probability); in testAddTooLongWord()
176 addUnigramWord(binaryDictionary, invalidLongWord, probability); in testAddTooLongWord()
182 addUnigramWord(binaryDictionary, "abc", probability); in testAddTooLongWord()
185 addUnigramWord(binaryDictionary, validLongWord, updatedProbability); in testAddTooLongWord()
186 addUnigramWord(binaryDictionary, invalidLongWord, updatedProbability); in testAddTooLongWord()
187 addUnigramWord(binaryDictionary, "abc", updatedProbability); in testAddTooLongWord()
197 private static void addUnigramWord(final BinaryDictionary binaryDictionary, final String word, in addUnigramWord() method in BinaryDictionaryTests
244 addUnigramWord(binaryDictionary, "aaa", probability); in testAddUnigramWord()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.h42 bool addUnigramWord(DynamicPtReadingHelper *const readingHelper,
Ddynamic_pt_updating_helper.cpp31 bool DynamicPtUpdatingHelper::addUnigramWord( in addUnigramWord() function in latinime::DynamicPtUpdatingHelper
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp221 if (mUpdatingHelper.addUnigramWord(&readingHelper, codePointsToAdd, codePointCountToAdd, in addUnigramEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp231 if (mUpdatingHelper.addUnigramWord(&readingHelper, codePointsToAdd, codePointCountToAdd, in addUnigramEntry()