/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | entry_counters.h | 32 explicit EntryCounts(const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> &counters) in EntryCounts() 39 const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> &getCountArray() const { in getCountArray() 48 const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> mEntryCounts; 58 const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> &counters) in MutableEntryCounters() 86 std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> mEntryCounters;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 292 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in addNgramEntry() 353 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in removeNgramEntry() 399 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in updateEntriesForWordWithNgramContext() 516 int ngramPrevWordsCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; in getWordProperty() 517 int ngramPrevWordsCodePointCount[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in getWordProperty() 518 bool ngramPrevWordIsBeginningOfSentense[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.h | 73 int mPrevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; 74 int mPrevWordCodePointCount[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; 75 bool mIsBeginningOfSentence[MAX_PREV_WORD_COUNT_FOR_N_GRAM];
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 90 ASSERT(prevWordsPtNodePos.size() <= MAX_PREV_WORD_COUNT_FOR_N_GRAM); in addNgramEntry() 91 int prevWordTerminalIds[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in addNgramEntry() 107 ASSERT(prevWordsPtNodePos.size() <= MAX_PREV_WORD_COUNT_FOR_N_GRAM); in removeNgramEntry() 108 int prevWordTerminalIds[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in removeNgramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 104 int prevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; in constructNgramContext() 105 int prevWordCodePointCount[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in constructNgramContext() 106 bool isBeginningOfSentence[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in constructNgramContext()
|
D | ngram_utils.h | 51 if (wordCount <= 0 || wordCount > MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1) { in getNgramTypeFromWordCount()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 45 int bitmapEntryIndices[MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1]; in getWordAttributes() 201 for (int prevWordCount = 0; prevWordCount <= MAX_PREV_WORD_COUNT_FOR_N_GRAM; ++prevWordCount) { in truncateEntries() 334 if (prevWordCount > MAX_PREV_WORD_COUNT_FOR_N_GRAM) { in updateAllProbabilityEntriesForGCInner() 336 prevWordCount, MAX_PREV_WORD_COUNT_FOR_N_GRAM); in updateAllProbabilityEntriesForGCInner()
|
D | dynamic_language_model_probability_utils.h | 69 static_assert(MAX_PREV_WORD_COUNT_FOR_N_GRAM <= 3, "Max supported Ngram is Quadgram.");
|
D | language_model_dict_content.h | 225 int mPrevWordIds[MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1];
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DicTraverseSession.java | 34 new int[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM][]; 36 new boolean[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM];
|
D | ContactsBinaryDictionary.java | 136 BinaryDictionary.MAX_PREV_WORD_COUNT_FOR_N_GRAM); in addNameLocked()
|
D | NgramContext.java | 113 this(DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM, prevWordsInfo); in NgramContext()
|
D | BinaryDictionary.java | 61 public static final int MAX_PREV_WORD_COUNT_FOR_N_GRAM = 3; field in BinaryDictionary
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | WordInputEventForPersonalization.java | 40 new int[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM][]; 42 new boolean[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM];
|
D | NgramContextUtils.java | 68 new WordInfo[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in getNgramContextFromNthPreviousWord()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 94 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getPredictions() 122 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getNgramProbability()
|
D | dictionary_utils.cpp | 38 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in getMaxProbabilityOfExactMatches()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 367 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in addNgramEntry() 427 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> prevWordIdArray; in removeNgramEntry()
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/define/ |
D | DecoderSpecificConstants.java | 29 public static final int MAX_PREV_WORD_COUNT_FOR_N_GRAM = 3; field in DecoderSpecificConstants
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_properties.h | 127 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> mPrevWordIds;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTestsHelper.java | 103 BinaryDictionary.MAX_PREV_WORD_COUNT_FOR_N_GRAM); in addWordsToDictionary()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
D | dic_traverse_session.h | 169 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> mPrevWordIdArray;
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 278 #define MAX_PREV_WORD_COUNT_FOR_N_GRAM 3 macro
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node.h | 118 WordIdArray<MAX_PREV_WORD_COUNT_FOR_N_GRAM> newPrevWordIds; in initAsRootWithPreviousWord()
|