Home
last modified time | relevance | path

Searched defs:binaryDictionary (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java123 BinaryDictionary binaryDictionary = getBinaryDictionary(dictFile); in testIsValidDictionary() local
141 final BinaryDictionary binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath(), in testConstructingDictionaryOnMemory() local
160 final BinaryDictionary binaryDictionary = getEmptyBinaryDictionary(FormatSpec.VERSION403); in testAddTooLongWord() local
189 private static void addUnigramWord(final BinaryDictionary binaryDictionary, final String word, in addUnigramWord()
197 private static void addBigramWords(final BinaryDictionary binaryDictionary, final String word0, in addBigramWords()
203 private static void addTrigramEntry(final BinaryDictionary binaryDictionary, final String word0, in addTrigramEntry()
210 private static boolean isValidBigram(final BinaryDictionary binaryDictionary, in isValidBigram()
215 private static int getBigramProbability(final BinaryDictionary binaryDictionary, in getBigramProbability()
220 private static int getTrigramProbability(final BinaryDictionary binaryDictionary, in getTrigramProbability()
228 final BinaryDictionary binaryDictionary = getEmptyBinaryDictionary(FormatSpec.VERSION403); in testAddUnigramWord() local
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictDecoder.java44 final BinaryDictionary binaryDictionary= new BinaryDictionary( in readHeader() local
60 final BinaryDictionary binaryDictionary = new BinaryDictionary( in readDictionaryBinary() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java57 final BinaryDictionary binaryDictionary = new BinaryDictionary( in getHeaderWithOffsetAndLength() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java695 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in dumpAllWordsForDebug() local
734 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in getWordPropertiesForSyncing() local