/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
ver4_patricia_trie_writing_helper.h | 92 int getProbability() const { 112 if (left.getProbability() != right.getProbability()) { 113 return left.getProbability() > right.getProbability();
|
ver4_patricia_trie_policy.cpp | 74 isTerminal = ptNodeParams.getProbability() != NOT_A_PROBABILITY; 128 prevWordIds, wordId, ptNodeParams.getProbability()); 137 return getWordAttributes(getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY), 144 ptNodeParams.getProbability() == 0); 147 int Ver4PatriciaTriePolicy::getProbability(const int unigramProbability, 171 return getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY); 179 return getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY) [all...] |
ver4_patricia_trie_node_reader.cpp | 80 probability = probabilityEntry.getProbability();
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
word_attributes.h | 34 int getProbability() const {
|
ngram_property.h | 43 int getProbability() const {
|
unigram_property.h | 39 int getProbability() const { 112 int getProbability() const {
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Diff.java | 116 + word0Property.getProbability()); 120 if (word0Property.getProbability() != word1PtNode.getProbability()) { 122 + word0Property.getProbability() + " -> " 123 + word1PtNode.getProbability()); 150 + word1Property.getProbability()); 166 + attribute0.getProbability()); 182 + attribute0.mWord + " " + attribute0.getProbability() + " -> " 183 + attribute1.getProbability()); 192 + attribute0.getProbability()); [all...] |
Info.java | 55 == shortcutTarget.getProbability()) { 74 System.out.println(" Freq: " + ptNode.getProbability()); 88 == shortcutTarget.getProbability() ? 89 "whitelist" : shortcutTarget.getProbability()) + ")"); 98 " Bigram: " + bigram.mWord + " (" + bigram.getProbability() + ")");
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
multi_bigram_map.cpp | 41 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY); 73 return structurePolicy->getProbability(unigramProbability, bigramProbability); 97 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY);
|
binary_dictionary_bigrams_iterator.h | 51 AK_FORCE_INLINE int getProbability() const {
|
forgetting_curve_utils.h | 66 int getProbability(const int tableId, const int level,
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
dic_node_utils.cpp | 77 if (wordAttributes.getProbability() == NOT_A_PROBABILITY 83 const float cost = static_cast<float>(MAX_PROBABILITY - wordAttributes.getProbability())
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 304 prevWordIds, wordId, ptNodeParams.getProbability()); 313 return getWordAttributes(getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY), 323 int PatriciaTriePolicy::getProbability(const int unigramProbability, 359 && bigramsIt.getProbability() != NOT_A_PROBABILITY) { 360 return getProbability(ptNodeParams.getProbability(), bigramsIt.getProbability()); 365 return getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY) [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
language_model_dict_content_test.cpp | 40 EXPECT_EQ(probability, entry.getProbability()); 85 EXPECT_EQ(originalEntry.getProbability(), entry.getProbabilityEntry().getProbability()); 109 false /* mustMatchAllPrevWords */, nullptr /* headerPolicy */).getProbability()); 116 false /* mustMatchAllPrevWords */, nullptr /* headerPolicy */).getProbability());
|
probability_entry_test.cpp | 36 EXPECT_EQ(probability, decodedEntry.getProbability());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
WeightedString.java | 42 public int getProbability() {
|
WordProperty.java | 132 public int getProbability() { 154 if (getProbability() < w.getProbability()) return 1; 155 if (getProbability() > w.getProbability()) return -1; 194 return getProbability() != Dictionary.NOT_A_PROBABILITY;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
probability_entry.h | 71 int getProbability() const {
|
bigram_entry.h | 81 int getProbability() const {
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
probability_entry.h | 55 mProbability(unigramProperty->getProbability()), 61 : mFlags(0), mProbability(ngramProperty->getProbability()), 76 int getProbability() const {
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
jni_data_utils.cpp | 43 int probabilityInfo[] = {unigramProperty.getProbability(), historicalInfo.getTimestamp(), 87 int bigramProbabilityInfo[] = {ngramProperty.getProbability(), 107 shortcut.getProbability());
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
dictionary_structure_with_buffer_policy.h | 64 virtual int getProbability(const int unigramProbability, const int bigramProbability) const = 0;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
dynamic_pt_updating_helper.cpp | 151 originalPtNodeParams->getCodePointArrayView(), unigramProperty->getProbability())); 185 unigramProperty->getProbability())); 228 firstPtNodeCodePoints, unigramProperty->getProbability())); 247 reallocatingPtNodeParams->getProbability())); 256 unigramProperty->getProbability()));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.h | 77 int getProbability(const CodePointArrayView codePoints) const;
|
dictionary_utils.cpp | 67 maxProbability = std::max(maxProbability, wordAttributes.getProbability());
|