/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryDecayingTests.java | 71 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 …]
|
D | BinaryDictionaryTests.java | 137 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/ |
D | dynamic_pt_updating_helper.h | 42 bool addUnigramWord(DynamicPtReadingHelper *const readingHelper,
|
D | dynamic_pt_updating_helper.cpp | 31 bool DynamicPtUpdatingHelper::addUnigramWord( in addUnigramWord() function in latinime::DynamicPtUpdatingHelper
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 221 if (mUpdatingHelper.addUnigramWord(&readingHelper, codePointsToAdd, codePointCountToAdd, in addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 231 if (mUpdatingHelper.addUnigramWord(&readingHelper, codePointsToAdd, codePointCountToAdd, in addUnigramEntry()
|