OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unigramProbability
(Results
1 - 8
of
8
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp
87
const int
unigramProbability
= dicNode->getProbability();
91
prevWordsPtNodePos, dicNode->getPtNodePos(),
unigramProbability
);
93
return dictionaryStructurePolicy->getProbability(
unigramProbability
,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
LanguageModelParam.java
60
public LanguageModelParam(final CharSequence word, final int
unigramProbability
,
62
this(null /* word0 */, word,
unigramProbability
, Dictionary.NOT_A_PROBABILITY, timestamp);
67
final int
unigramProbability
, final int bigramProbability,
73
mUnigramProbability =
unigramProbability
;
169
final int
unigramProbability
= isValidWord ?
176
return new LanguageModelParam(word,
unigramProbability
, timestamp);
185
unigramProbability
, bigramProbability, timestamp);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
dictionary.cpp
78
int
unigramProbability
= 0;
81
MAX_WORD_LENGTH, targetWordCodePoints, &
unigramProbability
);
86
unigramProbability
, ngramProbability);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
ver4_patricia_trie_policy.cpp
119
int Ver4PatriciaTriePolicy::getProbability(const int
unigramProbability
,
123
return ForgettingCurveUtils::getProbability(
unigramProbability
, bigramProbability);
125
if (
unigramProbability
== NOT_A_PROBABILITY) {
128
return ProbabilityUtils::backoff(
unigramProbability
);
527
int
unigramProbability
= NOT_A_PROBABILITY;
529
terminalPtNodePos, MAX_WORD_LENGTH, outCodePoints, &
unigramProbability
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
patricia_trie_policy.cpp
284
int PatriciaTriePolicy::getProbability(const int
unigramProbability
,
290
if (
unigramProbability
== NOT_A_PROBABILITY) {
293
return ProbabilityUtils::backoff(
unigramProbability
);
295
return ProbabilityUtils::computeProbabilityForBigram(
unigramProbability
,
458
int
unigramProbability
= NOT_A_PROBABILITY;
460
MAX_WORD_LENGTH, outCodePoints, &
unigramProbability
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp
109
int Ver4PatriciaTriePolicy::getProbability(const int
unigramProbability
,
113
return ForgettingCurveUtils::getProbability(
unigramProbability
, bigramProbability);
115
if (
unigramProbability
== NOT_A_PROBABILITY) {
118
return ProbabilityUtils::backoff(
unigramProbability
);
539
int
unigramProbability
= NOT_A_PROBABILITY;
541
terminalPtNodePos, MAX_WORD_LENGTH, outCodePoints, &
unigramProbability
);
/packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp
468
jint
unigramProbability
= env->GetIntField(languageModelParam, unigramProbabilityFieldId);
484
isBlacklisted,
unigramProbability
, timestamp, 0 /* level */, 1 /* count */,
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java
325
final int
unigramProbability
= 100;
328
addUnigramWord(binaryDictionary, "aaa",
unigramProbability
);
329
addUnigramWord(binaryDictionary, "abb",
unigramProbability
);
330
addUnigramWord(binaryDictionary, "bcc",
unigramProbability
);
364
addUnigramWord(binaryDictionary, "abcde",
unigramProbability
);
365
addUnigramWord(binaryDictionary, "fghij",
unigramProbability
);
367
addUnigramWord(binaryDictionary, "fgh",
unigramProbability
);
368
addUnigramWord(binaryDictionary, "abc",
unigramProbability
);
369
addUnigramWord(binaryDictionary, "f",
unigramProbability
);
418
final int
unigramProbability
= random.nextInt(0xFF)
[
all
...]
Completed in 150 milliseconds