Home
last modified time | relevance | path

Searched refs:dictionary (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp112 Dictionary *dictionary = 0; in latinime_BinaryDictionary_open() local
121 dictionary = new Dictionary(dictBuf, dictSize, fd, adjust, typedLetterMultiplier, in latinime_BinaryDictionary_open()
126 return (jlong)dictionary; in latinime_BinaryDictionary_open()
133 Dictionary *dictionary = (Dictionary*)dict; in latinime_BinaryDictionary_getSuggestions() local
134 if (!dictionary) return 0; in latinime_BinaryDictionary_getSuggestions()
144 int count = dictionary->getSuggestions(pInfo, xCoordinates, yCoordinates, inputCodes, in latinime_BinaryDictionary_getSuggestions()
161 Dictionary *dictionary = (Dictionary*)dict; in latinime_BinaryDictionary_getBigrams() local
162 if (!dictionary) return 0; in latinime_BinaryDictionary_getBigrams()
167 int count = dictionary->getBigrams(prevWord, prevWordLength, inputCodes, in latinime_BinaryDictionary_getBigrams()
178 Dictionary *dictionary = (Dictionary*)dict; in latinime_BinaryDictionary_getFrequency() local
[all …]
DAndroid.mk46 dictionary.cpp \
/packages/inputmethods/OpenWnn/
DREADME.txt33 [libWnnEngDic.so: English dictionary]
34 Index 0: English dictionary for normal prediction (high priority)
35 Index 1: English dictionary for normal prediction (middle priority)
36 Index 2: English dictionary for normal prediction (low priority)
37 Index 3: English dictionary for relative prediction #1
38 Index 4: English dictionary for relative prediction #2
40 [libWnnJpnDic.so: Japanese dictionary]
41 Index 0: Japanese dictionary for normal prediction (high priority)
42 Index 1: Japanese dictionary for normal prediction (low priority)
43 Index 2: Japanese dictionary for relative prediction #1
[all …]
DChangeLog.txt22 * If the ICS, bug when displaying the user dictionary, Exception occurs.
65 * Improving speed of registering to the learning dictionary.
78 * User dictionary manager's user interface is changed.
96 * English dictionary
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAutoCorrection.java60 final Dictionary dictionary = dictionaries.get(key); in isValidWord() local
68 if (null == dictionary) continue; in isValidWord()
69 if (dictionary.isValidWord(word) in isValidWord()
70 || (ignoreCase && dictionary.isValidWord(lowerCasedWord))) { in isValidWord()
85 final Dictionary dictionary = dictionaries.get(key); in getMaxFrequency() local
86 if (null == dictionary) continue; in getMaxFrequency()
87 final int tempFreq = dictionary.getFrequency(word); in getMaxFrequency()
DSuggest.java97 /* package for test */ Suggest(final Context context, final File dictionary, in Suggest() argument
99 final Dictionary mainDict = DictionaryFactory.createDictionaryForTest(context, dictionary, in Suggest()
313 final Dictionary dictionary = mUnigramDictionaries.get(key); in getSuggestedWords() local
314 dictionary.getWords(wordComposerForLookup, prevWordForBigram, this, proximityInfo); in getSuggestedWords()
399 for (final Dictionary dictionary : mBigramDictionaries.values()) { in getAllBigrams()
400 dictionary.getBigrams(wordComposer, lowerPrevWord, this); in getAllBigrams()
403 for (final Dictionary dictionary : mBigramDictionaries.values()) { in getAllBigrams()
404 dictionary.getBigrams(wordComposer, prevWord, this); in getAllBigrams()
511 for (final Dictionary dictionary : dictionaries) { in close()
512 dictionary.close(); in close()
DDictionaryFactory.java139 public static Dictionary createDictionaryForTest(Context context, File dictionary, in createDictionaryForTest() argument
141 if (dictionary.isFile()) { in createDictionaryForTest()
142 return new BinaryDictionary(context, dictionary.getAbsolutePath(), startOffset, length, in createDictionaryForTest()
145 Log.e(TAG, "Could not find the file. path=" + dictionary.getAbsolutePath()); in createDictionaryForTest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DDictAndProximity.java28 public DictAndProximity(final Dictionary dictionary, final ProximityInfo proximityInfo) { in DictAndProximity() argument
29 mDictionary = dictionary; in DictAndProximity()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DDictionaryBackupAgent.java190 byte[] dictionary = null; in restoreDictionary()
201 dictionary = baos.toByteArray(); in restoreDictionary()
207 while (pos + 4 < dictionary.length) { in restoreDictionary()
208 int length = readInt(dictionary, pos); in restoreDictionary()
210 if (pos + length > dictionary.length) { in restoreDictionary()
213 String line = new String(dictionary, pos, length); in restoreDictionary()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnEngine.java149 public boolean initializeDictionary(int dictionary); in initializeDictionary() argument
158 public boolean initializeDictionary(int dictionary, int type); in initializeDictionary() argument
DSymbolList.java241 public boolean initializeDictionary(int dictionary) {return true;} in initializeDictionary() argument
244 public boolean initializeDictionary(int dictionary, int type) {return true;} in initializeDictionary() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DOpenWnnEngineEN.java345 public boolean initializeDictionary(int dictionary) { in initializeDictionary() argument
348 switch( dictionary ) { in initializeDictionary()
365 public boolean initializeDictionary(int dictionary, int type) { in initializeDictionary() argument
366 return initializeDictionary(dictionary); in initializeDictionary()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java570 public boolean initializeDictionary(int dictionary) { in initializeDictionary() argument
571 switch( dictionary ) { in initializeDictionary()
588 public boolean initializeDictionary(int dictionary, int type) { in initializeDictionary() argument
589 return initializeDictionary(dictionary); in initializeDictionary()
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
DDictionaryMaker.java199 FusionDictionary dictionary = readInputFromParsedArgs(parsedArgs); in main() local
200 writeOutputToParsedArgs(parsedArgs, dictionary); in main()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DBinaryDictInputOutput.java807 private static final int makeOptionsValue(final FusionDictionary dictionary) { in makeOptionsValue() argument
808 final DictionaryOptions options = dictionary.mOptions; in makeOptionsValue()
809 final boolean hasBigrams = dictionary.hasBigrams(); in makeOptionsValue()