HomeSort by relevance Sort by last modified time
    Searched refs:NOT_A_PROBABILITY (Results 1 - 24 of 24) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
forgetting_curve_utils.cpp 51 if (encodedUnigramProbability == NOT_A_PROBABILITY) {
52 return NOT_A_PROBABILITY;
53 } else if (encodedBigramProbability == NOT_A_PROBABILITY) {
66 if (originalEncodedProbability == NOT_A_PROBABILITY) {
68 if (newProbability == NOT_A_PROBABILITY) {
75 if (newProbability != NOT_A_PROBABILITY
128 return NOT_A_PROBABILITY;
136 if (unigramProbability == NOT_A_PROBABILITY) {
137 return NOT_A_PROBABILITY;
forgetting_curve_utils.h 75 return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
binary_dictionary_bigrams_iterator.h 30 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY),
bigram_dictionary.cpp 157 if (NOT_A_DICT_POS == pos) return NOT_A_PROBABILITY;
160 if (NOT_A_DICT_POS == nextWordPos) return NOT_A_PROBABILITY;
172 return NOT_A_PROBABILITY;
multi_bigram_map.h 87 int bigramProbability = NOT_A_PROBABILITY;
114 int bigramProbability = NOT_A_PROBABILITY;
dictionary.cpp 94 return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_policy.cpp 61 // probability is NOT_A_PROBABILITY. In such case, we don't want to treat it as a
63 isTerminal = getProbability(nodeReader->getProbability(), NOT_A_PROBABILITY)
64 != NOT_A_PROBABILITY;
86 *outUnigramProbability = NOT_A_PROBABILITY;
95 *outUnigramProbability = NOT_A_PROBABILITY;
106 *outUnigramProbability = NOT_A_PROBABILITY;
167 if (unigramProbability == NOT_A_PROBABILITY) {
168 return NOT_A_PROBABILITY;
169 } else if (bigramProbability == NOT_A_PROBABILITY) {
180 return NOT_A_PROBABILITY;
    [all...]
dynamic_patricia_trie_node_reader.cpp 63 mProbability = NOT_A_PROBABILITY;
115 mProbability = NOT_A_PROBABILITY;
patricia_trie_policy.cpp 324 if (unigramProbability == NOT_A_PROBABILITY) {
325 return NOT_A_PROBABILITY;
326 } else if (bigramProbability == NOT_A_PROBABILITY) {
336 return NOT_A_PROBABILITY;
342 return NOT_A_PROBABILITY;
349 return NOT_A_PROBABILITY;
353 mDictRoot, &pos), NOT_A_PROBABILITY);
409 : NOT_A_PROBABILITY;
dynamic_patricia_trie_writing_helper.cpp 62 getUpdatedProbability(NOT_A_PROBABILITY /* originalProbability */,
76 getUpdatedProbability(NOT_A_PROBABILITY /* originalProbability */, probability),
93 getUpdatedProbability(NOT_A_PROBABILITY /* originalProbability */, probability), &pos);
130 nodeReader.isNotAWord(), nodeReader.getProbability() != NOT_A_PROBABILITY,
281 if (probability != NOT_A_PROBABILITY) {
311 probability != NOT_A_PROBABILITY /* isTerminal */,
378 getUpdatedProbability(NOT_A_PROBABILITY /* originalProbability */, probability),
436 const int newProbability = addsExtraChild ? NOT_A_PROBABILITY : probabilityOfNewPtNode;
dynamic_patricia_trie_node_reader.h 44 mProbability(NOT_A_PROBABILITY), mChildrenPosFieldPos(NOT_A_DICT_POS),
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java 102 binaryDictionary.addUnigramWord("a", Dictionary.NOT_A_PROBABILITY);
104 binaryDictionary.addUnigramWord("a", Dictionary.NOT_A_PROBABILITY);
106 binaryDictionary.addUnigramWord("a", Dictionary.NOT_A_PROBABILITY);
108 binaryDictionary.addUnigramWord("a", Dictionary.NOT_A_PROBABILITY);
115 binaryDictionary.addBigramWords("a", "b", Dictionary.NOT_A_PROBABILITY);
117 binaryDictionary.addBigramWords("a", "b", Dictionary.NOT_A_PROBABILITY);
119 binaryDictionary.addBigramWords("a", "b", Dictionary.NOT_A_PROBABILITY);
121 binaryDictionary.addBigramWords("a", "b", Dictionary.NOT_A_PROBABILITY);
129 binaryDictionary.addBigramWords("x", "y", Dictionary.NOT_A_PROBABILITY);
BinaryDictionaryTests.java 200 assertEquals(Dictionary.NOT_A_PROBABILITY,
202 assertEquals(Dictionary.NOT_A_PROBABILITY,
204 assertEquals(Dictionary.NOT_A_PROBABILITY,
215 assertEquals(Dictionary.NOT_A_PROBABILITY,
347 assertEquals(Dictionary.NOT_A_PROBABILITY, binaryDictionary.getFrequency("aaa"));
348 assertEquals(Dictionary.NOT_A_PROBABILITY, binaryDictionary.getFrequency("abcd"));
578 probability = Dictionary.NOT_A_PROBABILITY;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Dictionary.java 29 public static final int NOT_A_PROBABILITY = -1;
102 return NOT_A_PROBABILITY;
ReadOnlyBinaryDictionary.java 108 return NOT_A_PROBABILITY;
BinaryDictionary.java 254 return getFrequency(word) != NOT_A_PROBABILITY;
259 if (word == null) return NOT_A_PROBABILITY;
267 return getBigramProbability(word0, word1) != NOT_A_PROBABILITY;
271 if (TextUtils.isEmpty(word0) || TextUtils.isEmpty(word1)) return NOT_A_PROBABILITY;
338 if (!isValidDictionary()) return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp 96 NOT_A_PROBABILITY);
103 NOT_A_PROBABILITY);
dic_node.h 116 NOT_A_PROBABILITY /* probability */, false /* isTerminal */,
129 NOT_A_PROBABILITY /* probability */, false /* isTerminal */,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
AutoCorrectionUtils.java 67 return Dictionary.NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DecayingExpandableBinaryDictionaryBase.java 55 public static final int FREQUENCY_FOR_WORDS_NOT_IN_DICTS = Dictionary.NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/
defines.h 299 #define NOT_A_PROBABILITY (-1)
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 234 if (!dictionary) return NOT_A_PROBABILITY;
327 return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/
dynamic_bigram_list_policy.cpp 297 ForgettingCurveUtils::getUpdatedEncodedProbability(NOT_A_PROBABILITY, probability) :
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest.cpp 188 terminalDicNode->getProbability(), NOT_A_PROBABILITY) <= 0;

Completed in 375 milliseconds