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

1 2

  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
binary_dictionary_bigrams_iterator.h 30 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), mHasNext(false) {}
35 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY),
multi_bigram_map.cpp 41 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY);
67 int bigramProbability = NOT_A_PROBABILITY;
101 if (bigramProbability != NOT_A_PROBABILITY) {
104 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY);
dictionary_utils.cpp 57 int maxProbability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
patricia_trie_policy.cpp 98 *outUnigramProbability = NOT_A_PROBABILITY;
108 *outUnigramProbability = NOT_A_PROBABILITY;
233 *outUnigramProbability = NOT_A_PROBABILITY;
256 *outUnigramProbability = NOT_A_PROBABILITY;
290 if (unigramProbability == NOT_A_PROBABILITY) {
291 return NOT_A_PROBABILITY;
292 } else if (bigramProbability == NOT_A_PROBABILITY) {
303 return NOT_A_PROBABILITY;
311 return NOT_A_PROBABILITY;
319 && bigramsIt.getProbability() != NOT_A_PROBABILITY) {
    [all...]
ver2_patricia_trie_node_reader.cpp 35 int probability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Dictionary.java 31 public static final int NOT_A_PROBABILITY = -1;
104 return NOT_A_PROBABILITY;
108 return NOT_A_PROBABILITY;
ReadOnlyBinaryDictionary.java 101 return NOT_A_PROBABILITY;
113 return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/bigram/
bigram_list_policy.h 41 *outProbability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
ver4_patricia_trie_policy.cpp 70 // probability is NOT_A_PROBABILITY. In such case, we don't want to treat it as a
72 isTerminal = ptNodeParams.getProbability() != NOT_A_PROBABILITY;
125 if (unigramProbability == NOT_A_PROBABILITY) {
126 return NOT_A_PROBABILITY;
127 } else if (bigramProbability == NOT_A_PROBABILITY) {
138 return NOT_A_PROBABILITY;
142 return NOT_A_PROBABILITY;
150 && bigramsIt.getProbability() != NOT_A_PROBABILITY) {
154 return NOT_A_PROBABILITY;
156 return getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY);
    [all...]
ver4_patricia_trie_node_reader.cpp 66 int probability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp 60 // probability is NOT_A_PROBABILITY. In such case, we don't want to treat it as a
62 isTerminal = ptNodeParams.getProbability() != NOT_A_PROBABILITY;
115 if (unigramProbability == NOT_A_PROBABILITY) {
116 return NOT_A_PROBABILITY;
117 } else if (bigramProbability == NOT_A_PROBABILITY) {
128 return NOT_A_PROBABILITY;
132 return NOT_A_PROBABILITY;
140 && bigramsIt.getProbability() != NOT_A_PROBABILITY) {
144 return NOT_A_PROBABILITY;
146 return getProbability(ptNodeParams.getProbability(), NOT_A_PROBABILITY);
    [all...]
ver4_patricia_trie_node_reader.cpp 57 int probability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
LanguageModelParam.java 42 private static final int UNIGRAM_PROBABILITY_FOR_OOV_WORD = Dictionary.NOT_A_PROBABILITY;
44 private static final int BIGRAM_PROBABILITY_FOR_OOV_WORD = Dictionary.NOT_A_PROBABILITY;
62 this(null /* word0 */, word, unigramProbability, Dictionary.NOT_A_PROBABILITY, timestamp);
75 mShortcutProbability = Dictionary.NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
probability_entry.h 43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {}
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
bigram_dict_content.cpp 34 return BigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
40 int probability = NOT_A_PROBABILITY;
64 return BigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
142 NOT_A_PROBABILITY /* probability */, targetTerminalId, NOT_A_TIMESTAMP, 0 /* level */,
probability_entry.h 37 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {}
106 return ProbabilityEntry(flags, NOT_A_PROBABILITY, &historicalInfo);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
forgetting_curve_utils.cpp 47 if (newProbability != NOT_A_PROBABILITY && originalHistoricalInfo->getLevel() == 0) {
91 if (unigramProbability == NOT_A_PROBABILITY) {
92 return NOT_A_PROBABILITY;
93 } else if (bigramProbability == NOT_A_PROBABILITY) {
206 mTables[tableId][level][timeStepCount] = NOT_A_PROBABILITY;
235 return NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
dynamic_pt_reading_helper.cpp 187 *outUnigramProbability = NOT_A_PROBABILITY;
199 *outUnigramProbability = NOT_A_PROBABILITY;
210 *outUnigramProbability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
dic_node_properties.h 33 mProbability(NOT_A_PROBABILITY), mDicNodeCodePoint(NOT_A_CODE_POINT),
60 mProbability = NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DecayingExpandableBinaryDictionaryBase.java 40 public static final int FREQUENCY_FOR_WORDS_NOT_IN_DICTS = Dictionary.NOT_A_PROBABILITY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp 94 NOT_A_PROBABILITY);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
unigram_property.h 52 mProbability(NOT_A_PROBABILITY), mTimestamp(NOT_A_TIMESTAMP), mLevel(0), mCount(0),
  /packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/
language_model_dict_content_test.cpp 49 const ProbabilityEntry probabilityEntry(flag, NOT_A_PROBABILITY, &historicalInfo);
probability_entry_test.cpp 46 const ProbabilityEntry entry(flag, NOT_A_PROBABILITY, &historicalInfo);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java 74 BinaryDictionary.NOT_A_PROBABILITY /* shortcutProbability */,
227 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY);
229 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY);
230 addUnigramWord(binaryDictionary, "a", Dictionary.NOT_A_PROBABILITY);
236 addBigramWords(binaryDictionary, "a", "b", Dictionary.NOT_A_PROBABILITY);
238 addBigramWords(binaryDictionary, "a", "b", Dictionary.NOT_A_PROBABILITY);
246 addBigramWords(binaryDictionary, "x", "y", Dictionary.NOT_A_PROBABILITY);
610 addUnigramWord(binaryDictionary, "bbb", Dictionary.NOT_A_PROBABILITY);
620 addBigramWords(binaryDictionary, "aaa", "bbb", Dictionary.NOT_A_PROBABILITY);
630 addUnigramWord(binaryDictionary, "bbb", Dictionary.NOT_A_PROBABILITY);
    [all...]

Completed in 422 milliseconds

1 2