Searched refs:prevWordCount (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 201 for (int prevWordCount = 0; prevWordCount <= MAX_PREV_WORD_COUNT_FOR_N_GRAM; ++prevWordCount) { in truncateEntries() local 202 const int totalWordCount = prevWordCount + 1; in truncateEntries() 212 maxEntryCounts.getNgramCount(ngramType), prevWordCount, &entryCount)) { in truncateEntries() 331 const int prevWordCount, const HeaderPolicy *const headerPolicy, in updateAllProbabilityEntriesForGCInner() argument 334 if (prevWordCount > MAX_PREV_WORD_COUNT_FOR_N_GRAM) { in updateAllProbabilityEntriesForGCInner() 336 prevWordCount, MAX_PREV_WORD_COUNT_FOR_N_GRAM); in updateAllProbabilityEntriesForGCInner() 341 if (prevWordCount > 0 && probabilityEntry.isValid() in updateAllProbabilityEntriesForGCInner() 379 NgramUtils::getNgramTypeFromWordCount(prevWordCount + 1)); in updateAllProbabilityEntriesForGCInner() 384 prevWordCount + 1, headerPolicy, needsToHalveCounters, outEntryCounters)) { in updateAllProbabilityEntriesForGCInner() 423 const int prevWordCount = prevWordIds->size(); in getEntryInfo() local [all …]
|
D | language_model_dict_content.h | 218 const int prevWordCount, const int *const prevWordIds); 242 bool updateAllProbabilityEntriesForGCInner(const int bitmapEntryIndex, const int prevWordCount,
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 103 jbooleanArray isBeginningOfSentenceArray, const size_t prevWordCount) { in constructNgramContext() argument 107 for (size_t i = 0; i < prevWordCount; ++i) { in constructNgramContext() 127 prevWordCount); in constructNgramContext()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.cpp | 38 const size_t prevWordCount) in NgramContext() argument 39 : mPrevWordCount(std::min(NELEMS(mPrevWordCodePoints), prevWordCount)) { in NgramContext()
|
D | ngram_context.h | 38 const size_t prevWordCount);
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 183 jint prevWordCount, jintArray outSuggestionCount, jintArray outCodePointsArray, in latinime_BinaryDictionary_getSuggestions() argument 246 prevWordCodePointArrays, isBeginningOfSentenceArray, prevWordCount); in latinime_BinaryDictionary_getSuggestions() 488 jint prevWordCount = env->GetIntField(inputEvent, prevWordCountFieldId); in latinime_BinaryDictionary_updateEntriesForInputEvents() local 496 prevWordArray, isPrevWordBeginningOfSentenceArray, prevWordCount); in latinime_BinaryDictionary_updateEntriesForInputEvents()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 197 int prevWordCount, int[] outputSuggestionCount, int[] outputCodePoints, in getSuggestionsNative() argument
|