OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bigramProbability
(Results
1 - 13
of
13
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
probability_utils.h
39
const int unigramProbability, const int
bigramProbability
) {
48
+ static_cast<int>(static_cast<float>(
bigramProbability
+ 1) * stepSize);
forgetting_curve_utils.cpp
57
const int
bigramProbability
= decodeProbability(encodedBigramProbability);
58
return min(max(unigramProbability,
bigramProbability
), MAX_COMPUTED_PROBABILITY);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
multi_bigram_map.h
87
int
bigramProbability
= NOT_A_PROBABILITY;
92
bigramProbability
= bigramProbabilityIt->second;
95
return structurePolicy->getProbability(unigramProbability,
bigramProbability
);
114
int
bigramProbability
= NOT_A_PROBABILITY;
121
bigramProbability
= bigramsIt.getProbability();
125
return structurePolicy->getProbability(unigramProbability,
bigramProbability
);
bigram_dictionary.cpp
42
void BigramDictionary::addWordBigram(int *word, int length, int probability, int *
bigramProbability
,
56
if (probability >
bigramProbability
[insertAt] || (
bigramProbability
[insertAt] == probability
69
memmove(
bigramProbability
+ (insertAt + 1),
70
bigramProbability
+ insertAt,
71
(MAX_RESULTS - insertAt - 1) * sizeof(
bigramProbability
[0]));
72
bigramProbability
[insertAt] = probability;
bigram_dictionary.h
38
void addWordBigram(int *word, int length, int probability, int *
bigramProbability
,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java
171
final int
bigramProbability
= 10;
176
binaryDictionary.addBigramWords("aaa", "abb",
bigramProbability
);
177
binaryDictionary.addBigramWords("aaa", "bcc",
bigramProbability
);
178
binaryDictionary.addBigramWords("abb", "aaa",
bigramProbability
);
179
binaryDictionary.addBigramWords("abb", "bcc",
bigramProbability
);
182
bigramProbability
);
210
binaryDictionary.addBigramWords("abcde", "fghij",
bigramProbability
);
263
final int
bigramProbability
= random.nextInt(0xF);
264
bigramProbabilities.put(bigram,
bigramProbability
);
265
binaryDictionary.addBigramWords(word0, word1,
bigramProbability
);
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
dictionary_structure_with_buffer_policy.h
51
const int
bigramProbability
) const = 0;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_policy.h
63
int getProbability(const int unigramProbability, const int
bigramProbability
) const;
patricia_trie_policy.h
60
int getProbability(const int unigramProbability, const int
bigramProbability
) const;
dynamic_patricia_trie_policy.cpp
163
const int
bigramProbability
) const {
165
return ForgettingCurveUtils::getProbability(unigramProbability,
bigramProbability
);
169
} else if (
bigramProbability
== NOT_A_PROBABILITY) {
173
bigramProbability
);
patricia_trie_policy.cpp
323
const int
bigramProbability
) const {
326
} else if (
bigramProbability
== NOT_A_PROBABILITY) {
330
bigramProbability
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java
141
int
bigramProbability
);
337
public int calculateProbability(final int unigramProbability, final int
bigramProbability
) {
339
return calculateProbabilityNative(mNativeDict, unigramProbability,
bigramProbability
);
/packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp
324
jlong dict, jint unigramProbability, jint
bigramProbability
) {
330
bigramProbability
);
Completed in 1003 milliseconds