OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unigramProbability
(Results
1 - 5
of
5
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp
89
const int
unigramProbability
= node->getProbability();
95
return dictionaryStructurePolicy->getProbability(
unigramProbability
,
100
wordPos,
unigramProbability
);
102
return dictionaryStructurePolicy->getProbability(
unigramProbability
,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
bigram_dictionary.cpp
113
int
unigramProbability
= 0;
124
MAX_WORD_LENGTH, bigramBuffer, &
unigramProbability
);
134
unigramProbability
, bigramsIt.getProbability());
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
forgetting_curve_utils.cpp
56
const int
unigramProbability
= decodeProbability(encodedUnigramProbability);
58
return min(max(
unigramProbability
, bigramProbability), MAX_COMPUTED_PROBABILITY);
135
/* static */ int ForgettingCurveUtils::backoff(const int
unigramProbability
) {
136
if (
unigramProbability
== NOT_A_PROBABILITY) {
139
return max(
unigramProbability
- 8, 0);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java
114
final int
unigramProbability
= binaryDictionary.getFrequency("a");
BinaryDictionaryTests.java
170
final int
unigramProbability
= 100;
173
binaryDictionary.addUnigramWord("aaa",
unigramProbability
);
174
binaryDictionary.addUnigramWord("abb",
unigramProbability
);
175
binaryDictionary.addUnigramWord("bcc",
unigramProbability
);
181
final int probability = binaryDictionary.calculateProbability(
unigramProbability
,
193
final int updatedProbability = binaryDictionary.calculateProbability(
unigramProbability
,
208
binaryDictionary.addUnigramWord("abcde",
unigramProbability
);
209
binaryDictionary.addUnigramWord("fghij",
unigramProbability
);
211
binaryDictionary.addUnigramWord("fgh",
unigramProbability
);
212
binaryDictionary.addUnigramWord("abc",
unigramProbability
);
[
all
...]
Completed in 2428 milliseconds