Home
last modified time | relevance | path

Searched defs:probability (Results 1 – 25 of 37) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dprobability_entry.h46 ProbabilityEntry(const int flags, const int probability) in ProbabilityEntry()
50 ProbabilityEntry(const int flags, const int probability, in ProbabilityEntry()
54 const ProbabilityEntry createEntryWithUpdatedProbability(const int probability) const { in createEntryWithUpdatedProbability()
Dbigram_entry.h42 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) in BigramEntry()
47 BigramEntry(const bool hasNext, const int probability, in BigramEntry()
64 const BigramEntry updateProbabilityAndGetEntry(const int probability) const { in updateProbabilityAndGetEntry()
Dshortcut_dict_content.cpp121 int probability = 0; in copyShortcutListFromDictContent() local
134 bool ShortcutDictContent::setProbability(const int probability, const int shortcutEntryPos) { in setProbability()
145 const int codePointCount, const int probability, const bool hasNext, in writeShortcutEntryAndAdvancePosition()
170 int probability = 0; in findShortcutEntryAndGetPos() local
191 int ShortcutDictContent::createAndGetShortcutFlags(const int probability, in createAndGetShortcutFlags()
Dshortcut_dict_content.h77 const int probability, const bool hasNext, const int shortcutEntryPos) { in writeShortcutEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h31 ShortcutProperty(const std::vector<int> &&targetCodePoints, const int probability) in ShortcutProperty()
58 const bool isPossiblyOffensive, const int probability, in UnigramProperty()
67 const bool isPossiblyOffensive, const int probability, in UnigramProperty()
76 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability, in UnigramProperty()
85 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability, in UnigramProperty()
Dngram_property.h31 const int probability, const HistoricalInfo historicalInfo) in NgramProperty()
Dword_attributes.h29 WordAttributes(const int probability, const bool isBlacklisted, const bool isNotAWord, in WordAttributes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWeightedString.java32 public WeightedString(final String word, final int probability) { in WeightedString()
46 public void setProbability(final int probability) { in setProbability()
DProbabilityInfo.java47 public ProbabilityInfo(final int probability) { in ProbabilityInfo()
51 public ProbabilityInfo(final int probability, final int timestamp, final int level, in ProbabilityInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dshortcut_dict_content.cpp106 int probability = 0; in copyShortcutListFromDictContent() local
119 bool ShortcutDictContent::setProbability(const int probability, const int shortcutEntryPos) { in setProbability()
130 const int codePointCount, const int probability, const bool hasNext, in writeShortcutEntryAndAdvancePosition()
155 int probability = 0; in findShortcutEntryAndGetPos() local
176 int ShortcutDictContent::createAndGetShortcutFlags(const int probability, in createAndGetShortcutFlags()
Ddynamic_language_model_probability_utils.h38 const int probability = in backoff() local
43 static int getDecayedProbability(const int probability, const HistoricalInfo historicalInfo) { in getDecayedProbability()
Dprobability_entry.h43 ProbabilityEntry(const int flags, const int probability) in ProbabilityEntry()
138 const int probability = readFromEncodedEntry(encodedEntry, in decode() local
Dshortcut_dict_content.h70 const int probability, const bool hasNext, const int shortcutEntryPos) { in writeShortcutEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/
Dver4_shortcut_list_policy.h54 int probability = 0; in getNextShortcut() local
67 const int probability) { in addNewShortcut()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/
Dver4_shortcut_list_policy.h44 int probability = 0; in getNextShortcut() local
57 const int probability) { in addNewShortcut()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_params.h61 const int codePointCount, const int *const codePoints, const int probability, in PtNodeParams()
77 const int terminalIdFieldPos, const int terminalId, const int probability, in PtNodeParams()
92 const CodePointArrayView codePoints, const int probability) in PtNodeParams()
109 const CodePointArrayView codePoints, const int probability) in PtNodeParams()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dver2_patricia_trie_node_reader.cpp35 int probability = NOT_A_PROBABILITY; in fetchPtNodeParamsInBufferFromPtNodePos() local
Dpatricia_trie_policy.cpp303 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext() local
317 const WordAttributes PatriciaTriePolicy::getWordAttributes(const int probability, in getWordAttributes()
407 int probability = NOT_A_PROBABILITY; in createAndGetLeavingChildNode() local
450 const int probability = getProbability(word1Probability, bigramsIt.getProbability()); in getWordProperty() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dprobability_utils.h55 const float probability = static_cast<float>(MAX_PROBABILITY) in encodeRawProbability() local
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp33 const int probability = 10; in TEST() local
95 const int probability = 10; in TEST() local
Dprobability_entry_test.cpp28 const int probability = 10; in TEST() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp127 const int probability = multiBigramMap->getBigramProbability(this /* structurePolicy */, in getWordAttributesInContext() local
132 const int probability = getProbabilityOfWord(prevWordIds, wordId); in getWordAttributesInContext() local
141 const WordAttributes Ver4PatriciaTriePolicy::getWordAttributes(const int probability, in getWordAttributes()
457 const int probability = isValidWord ? DUMMY_PROBABILITY_FOR_VALID_WORDS : NOT_A_PROBABILITY; in updateEntriesForWordWithNgramContext() local
590 const int probability = getBigramConditionalProbability(ptNodeParams.getProbability(), in getWordProperty() local
Dver4_patricia_trie_node_reader.cpp67 int probability = NOT_A_PROBABILITY; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
Dver4_patricia_trie_writing_helper.h85 DictProbability(const int dictPos, const int probability, const int timestamp) in DictProbability()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java146 final int probability = 100; in testConstructingDictionaryOnMemory() local
168 final int probability = 100; in testAddTooLongWord() local
190 final int probability) { in addUnigramWord()
198 final String word1, final int probability) { in addBigramWords()
204 final String word1, final String word2, final int probability) { in addTrigramEntry()
229 final int probability = 100; in testAddUnigramWord() local
410 final int probability = 100; in testFlushDictionary() local
602 final int probability; in testRandomOperationsAndFlashWithGC() local

12