OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UNIGRAM_FREQ
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
ExpandableDictionaryTests.java
28
private final static int
UNIGRAM_FREQ
= 50;
37
dict.addWord("abcde", "abcde",
UNIGRAM_FREQ
, SHORTCUT_FREQ);
38
dict.addWord("abcef", null,
UNIGRAM_FREQ
+ 1, 0);
42
assertEquals(
UNIGRAM_FREQ
, dict.getWordFrequency("abcde"));
44
assertEquals(
UNIGRAM_FREQ
+1, dict.getWordFrequency("abcef"));
46
dict.addWord("abc", null,
UNIGRAM_FREQ
+ 2, 0);
48
assertEquals(
UNIGRAM_FREQ
+ 2, dict.getWordFrequency("abc"));
51
dict.addWord("abc", null,
UNIGRAM_FREQ
, 0);
52
assertEquals(
UNIGRAM_FREQ
+ 2, dict.getWordFrequency("abc"));
55
dict.addWord("abc", null,
UNIGRAM_FREQ
+ 3, 0)
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictDecoderEncoderTests.java
57
private static final int
UNIGRAM_FREQ
= 10;
156
shortcuts.add(new WeightedString(shortcut,
UNIGRAM_FREQ
));
159
dict.add(word,
UNIGRAM_FREQ
, (shortcutMap == null) ? null : shortcuts,
404
assertEquals(freq,
UNIGRAM_FREQ
);
Completed in 539 milliseconds