Home
last modified time | relevance | path

Searched refs:prevWordIdArray (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_policy.cpp292 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in addNgramEntry() local
293 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in addNgramEntry()
315 ngramContext->getPrevWordIds(this, &prevWordIdArray, false /* tryLowerCaseSearch */); in addNgramEntry()
353 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in removeNgramEntry() local
354 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in removeNgramEntry()
399 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in updateEntriesForWordWithNgramContext() local
400 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in updateEntriesForWordWithNgramContext()
414 ngramContext->getPrevWordIds(this, &prevWordIdArray, false /* tryLowerCaseSearch */); in updateEntriesForWordWithNgramContext()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddictionary.cpp94 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getPredictions() local
96 mDictionaryStructureWithBufferPolicy.get(), &prevWordIdArray, in getPredictions()
122 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getNgramProbability() local
124 mDictionaryStructureWithBufferPolicy.get(), &prevWordIdArray, in getNgramProbability()
H A Ddictionary_utils.cpp38 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getMaxProbabilityOfExactMatches() local
40 dictionaryStructurePolicy, &prevWordIdArray, false /* tryLowerCaseSearch */); in getMaxProbabilityOfExactMatches()
/aosp12/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content_test.cpp99 const std::array<int, 2> prevWordIdArray = {{ 1, 2 }}; in TEST() local
100 const WordIdArrayView prevWordIds = WordIdArrayView::fromArray(prevWordIdArray); in TEST()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_policy.cpp367 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in addNgramEntry() local
368 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in addNgramEntry()
384 ngramContext->getPrevWordIds(this, &prevWordIdArray, false /* tryLowerCaseSearch */); in addNgramEntry()
427 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in removeNgramEntry() local
428 const WordIdArrayView prevWordIds = ngramContext->getPrevWordIds(this, &prevWordIdArray, in removeNgramEntry()