OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bigramProbability
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
multi_bigram_map.cpp
66
int
bigramProbability
= NOT_A_PROBABILITY;
70
bigramProbability
= bigramProbabilityIt->second;
73
return structurePolicy->getProbability(unigramProbability,
bigramProbability
);
93
const int
bigramProbability
= structurePolicy->getProbabilityOfWord(prevWordIds, nextWordId);
94
if (
bigramProbability
!= NOT_A_PROBABILITY) {
95
return
bigramProbability
;
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
language_model_dict_content_test.cpp
96
const int
bigramProbability
= 20;
104
const ProbabilityEntry bigramProbabilityEntry(flag,
bigramProbability
);
108
EXPECT_EQ(
bigramProbability
, languageModelDictContent.getWordAttributes(prevWordIds, wordId,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.cpp
308
const int
bigramProbability
= getProbabilityOfWord(prevWordIds, wordId);
309
if (
bigramProbability
!= NOT_A_PROBABILITY) {
310
return getWordAttributes(
bigramProbability
, ptNodeParams);
324
const int
bigramProbability
) const {
331
} else if (
bigramProbability
== NOT_A_PROBABILITY) {
335
bigramProbability
);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java
265
final int
bigramProbability
= 150;
270
addBigramWords(binaryDictionary, "aaa", "abb",
bigramProbability
);
271
addBigramWords(binaryDictionary, "aaa", "bcc",
bigramProbability
);
272
addBigramWords(binaryDictionary, "abb", "aaa",
bigramProbability
);
273
addBigramWords(binaryDictionary, "abb", "bcc",
bigramProbability
);
279
assertEquals(
bigramProbability
, getBigramProbability(binaryDictionary, "aaa", "abb"));
280
assertEquals(
bigramProbability
, getBigramProbability(binaryDictionary, "aaa", "bcc"));
281
assertEquals(
bigramProbability
, getBigramProbability(binaryDictionary, "abb", "aaa"));
282
assertEquals(
bigramProbability
, getBigramProbability(binaryDictionary, "abb", "bcc"));
301
addBigramWords(binaryDictionary, "abcde", "fghij",
bigramProbability
);
[
all
...]
Completed in 93 milliseconds