OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:binaryDictionary
(Results
1 - 8
of
8
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java
71
private void addUnigramWord(final
BinaryDictionary
binaryDictionary
, final String word,
73
binaryDictionary
.addUnigramEntry(word, probability, "" /* shortcutTarget */,
74
BinaryDictionary
.NOT_A_PROBABILITY /* shortcutProbability */,
79
private void addBigramWords(final
BinaryDictionary
binaryDictionary
, final String word0,
81
binaryDictionary
.addNgramEntry(new PrevWordsInfo(new WordInfo(word0)), word1, probability,
85
private static boolean isValidBigram(final
BinaryDictionary
binaryDictionary
,
87
return
binaryDictionary
.isValidNgram(new PrevWordsInfo(new WordInfo(word0)), word1)
[
all
...]
BinaryDictionaryTests.java
99
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(dictFile.getAbsolutePath(),
102
assertTrue("
binaryDictionary
must be valid for existing valid dictionary file.",
103
binaryDictionary
.isValidDictionary());
104
binaryDictionary
.close();
105
assertFalse("
binaryDictionary
must be invalid after closing.",
106
binaryDictionary
.isValidDictionary());
108
binaryDictionary
= new
BinaryDictionary
(dictFile.getAbsolutePath(), 0 /* offset */
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
Ver4DictDecoder.java
20
import com.android.inputmethod.latin.
BinaryDictionary
;
49
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(
53
final DictionaryHeader header =
binaryDictionary
.getHeader();
54
binaryDictionary
.close();
65
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(
75
final
BinaryDictionary
.GetNextWordPropertyResult result
[
all
...]
Ver2DictDecoder.java
20
import com.android.inputmethod.latin.
BinaryDictionary
;
171
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(
175
final DictionaryHeader header =
binaryDictionary
.getHeader();
176
binaryDictionary
.close();
259
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(
269
final
BinaryDictionary
.GetNextWordPropertyResult result
[
all
...]
BinaryDictDecoderEncoderTests.java
25
import com.android.inputmethod.latin.
BinaryDictionary
;
613
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(file.getAbsolutePath(),
617
final WordProperty wordProperty =
binaryDictionary
.getWordProperty(word,
650
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(file.getAbsolutePath(),
668
final
BinaryDictionary
.GetNextWordPropertyResult result =
669
binaryDictionary
.getNextWordProperty(token)
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
BinaryDictionaryUtilsTests.java
22
import com.android.inputmethod.latin.
BinaryDictionary
;
85
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(dictFile1.getAbsolutePath(),
88
assertTrue(
binaryDictionary
.isValidDictionary());
89
assertTrue(
binaryDictionary
.getFormatVersion() == formatVersion);
90
binaryDictionary
.close();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
BinaryDictionaryUtils.java
20
import com.android.inputmethod.latin.
BinaryDictionary
;
57
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(
61
final DictionaryHeader header =
binaryDictionary
.getHeader();
62
binaryDictionary
.close();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
PersonalizationDictionaryTests.java
28
import com.android.inputmethod.latin.
BinaryDictionary
;
111
final
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(dictFile.getAbsolutePath(),
115
assertTrue(
binaryDictionary
.isValidDictionary());
Completed in 180 milliseconds