OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProbabilityInfo
(Results
1 - 10
of
10
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
ProbabilityInfo.java
25
public final class
ProbabilityInfo
{
35
public static
ProbabilityInfo
max(final
ProbabilityInfo
probabilityInfo1,
36
final
ProbabilityInfo
probabilityInfo2) {
47
public
ProbabilityInfo
(final int probability) {
51
public
ProbabilityInfo
(final int probability, final int timestamp, final int level,
79
if (!(o instanceof
ProbabilityInfo
)) return false;
80
final
ProbabilityInfo
p = (
ProbabilityInfo
)o;
WeightedString.java
30
public
ProbabilityInfo
mProbabilityInfo;
33
this(word, new
ProbabilityInfo
(probability));
36
public WeightedString(final String word, final
ProbabilityInfo
probabilityInfo
) {
38
mProbabilityInfo =
probabilityInfo
;
47
mProbabilityInfo = new
ProbabilityInfo
(probability);
WordProperty.java
39
public final
ProbabilityInfo
mProbabilityInfo;
51
public WordProperty(final String word, final
ProbabilityInfo
probabilityInfo
,
55
mProbabilityInfo =
probabilityInfo
;
71
private static
ProbabilityInfo
createProbabilityInfoFromArray(final int[]
probabilityInfo
) {
72
return new
ProbabilityInfo
(
73
probabilityInfo
[BinaryDictionary.FORMAT_WORD_PROPERTY_PROBABILITY_INDEX],
74
probabilityInfo
[BinaryDictionary.FORMAT_WORD_PROPERTY_TIMESTAMP_INDEX],
75
probabilityInfo
[BinaryDictionary.FORMAT_WORD_PROPERTY_LEVEL_INDEX]
[
all
...]
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
BinaryDictEncoderFlattenTreeTests.java
36
dict.add("foo", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
38
dict.add("fta", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
40
dict.add("ftb", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
42
dict.add("bar", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
44
dict.add("fool", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
FusionDictionaryTest.java
105
dict.add(sWords.get(i), new
ProbabilityInfo
(180), null, false,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
PtNodeInfo.java
29
public final
ProbabilityInfo
mProbabilityInfo;
35
final int[] characters, final
ProbabilityInfo
probabilityInfo
,
42
mProbabilityInfo =
probabilityInfo
;
FusionDictionary.java
87
ProbabilityInfo
mProbabilityInfo;
103
final
ProbabilityInfo
probabilityInfo
, final boolean isNotAWord,
106
mProbabilityInfo =
probabilityInfo
;
107
mTerminalId =
probabilityInfo
== null ? NOT_A_TERMINAL :
probabilityInfo
.mProbability;
115
final
ProbabilityInfo
probabilityInfo
, final boolean isNotAWord,
118
mProbabilityInfo =
probabilityInfo
;
168
public void addBigram(final String word, final
ProbabilityInfo
probabilityInfo)
[
all
...]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
CombinedInputOutput.java
23
import com.android.inputmethod.latin.makedict.
ProbabilityInfo
;
99
ProbabilityInfo
probabilityInfo
= new
ProbabilityInfo
(0);
109
dict.add(word,
probabilityInfo
, shortcuts.isEmpty() ? null : shortcuts,
127
probabilityInfo
= new
ProbabilityInfo
(Integer.parseInt(params[1]),
128
probabilityInfo
.mTimestamp,
probabilityInfo
.mLevel,
129
probabilityInfo
.mCount)
[
all
...]
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtilsTests.java
34
import com.android.inputmethod.latin.makedict.
ProbabilityInfo
;
88
dict.add("foo", new
ProbabilityInfo
(TEST_FREQ), null, false /* isNotAWord */,
90
dict.add("fta", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
92
dict.add("ftb", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
94
dict.add("bar", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
96
dict.add("fool", new
ProbabilityInfo
(1), null, false /* isNotAWord */,
174
dict.add(word, new
ProbabilityInfo
(TEST_FREQ), null /* shortcuts */,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CombinedFormatUtils.java
21
import com.android.inputmethod.latin.makedict.
ProbabilityInfo
;
91
public static String formatProbabilityInfo(final
ProbabilityInfo
probabilityInfo
) {
93
builder.append(PROBABILITY_TAG + "=" +
probabilityInfo
.mProbability);
94
if (
probabilityInfo
.hasHistoricalInfo()) {
97
builder.append(
probabilityInfo
.mTimestamp);
99
builder.append(
probabilityInfo
.mLevel);
101
builder.append(
probabilityInfo
.mCount);
Completed in 104 milliseconds