OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BinaryDictionary
(Results
1 - 9
of
9
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
EditDistanceTests.java
42
final int dist =
BinaryDictionary
.editDistance("kitten", "sitting");
55
final int dist =
BinaryDictionary
.editDistance("Saturday", "Sunday");
61
final int dist =
BinaryDictionary
.editDistance("", "");
67
final int dist =
BinaryDictionary
.editDistance("", "aaaa");
74
final int dist =
BinaryDictionary
.editDistance("aaaa", "");
83
final int dist =
BinaryDictionary
.editDistance(arg1, arg2);
90
final int dist =
BinaryDictionary
.editDistance(arg, arg);
97
BinaryDictionary
.editDistance(null, "aaa");
103
BinaryDictionary
.editDistance("aaa", null);
BinaryDictionaryDecayingTests.java
56
private void forcePassingShortTime(final
BinaryDictionary
binaryDictionary
) {
60
binaryDictionary
.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);
61
binaryDictionary
.flushWithGC();
65
private void forcePassingLongTime(final
BinaryDictionary
binaryDictionary
) {
70
binaryDictionary
.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);
71
binaryDictionary
.flushWithGC();
83
if (
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
98
BinaryDictionary
binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath()
[
all
...]
BinaryDictionaryTests.java
57
if (
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
72
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(dictFile.getAbsolutePath(),
75
assertTrue("
binaryDictionary
must be valid for existing valid dictionary file.",
76
binaryDictionary
.isValidDictionary());
77
binaryDictionary
.close();
78
assertFalse("
binaryDictionary
must be invalid after closing.",
79
binaryDictionary
.isValidDictionary());
81
binaryDictionary
= new BinaryDictionary(dictFile.getAbsolutePath(), 0 /* offset */
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
AutoCorrectionUtils.java
19
import com.android.inputmethod.latin.
BinaryDictionary
;
90
final float normalizedScore =
BinaryDictionary
.calcNormalizedScore(
123
final int distance =
BinaryDictionary
.editDistance(typedWord, suggestion);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ReadOnlyBinaryDictionary.java
38
private final
BinaryDictionary
mBinaryDictionary;
43
mBinaryDictionary = new
BinaryDictionary
(filename, offset, length, useFullEditDistance,
ExpandableBinaryDictionary.java
91
private
BinaryDictionary
mBinaryDictionary;
250
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
252
mBinaryDictionary = new
BinaryDictionary
(
507
final
BinaryDictionary
newBinaryDictionary = new
BinaryDictionary
(filename, 0 /* offset */,
513
final
BinaryDictionary
oldBinaryDictionary = mBinaryDictionary;
548
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
BinaryDictionary.java
40
public final class
BinaryDictionary
extends Dictionary {
41
private static final String TAG =
BinaryDictionary
.class.getSimpleName();
103
public
BinaryDictionary
(final String filename, final long offset, final long length,
375
// TODO: Manage
BinaryDictionary
instances without using WeakReference or something.
Suggest.java
430
final float normalizedScore =
BinaryDictionary
.calcNormalizedScore(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerService.java
30
import com.android.inputmethod.latin.
BinaryDictionary
;
323
final float normalizedScore =
BinaryDictionary
.calcNormalizedScore(
358
BinaryDictionary
.calcNormalizedScore(
Completed in 519 milliseconds