Home
last modified time | relevance | path

Searched refs:dictionaries (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAutoCorrection.java36 final ConcurrentHashMap<String, Dictionary> dictionaries, in computeAutoCorrectionWord() argument
43 dictionaries, wordComposer, suggestions, consideredWord)) { in computeAutoCorrectionWord()
52 public static boolean isValidWord(final ConcurrentHashMap<String, Dictionary> dictionaries, in isValidWord() argument
58 for (final String key : dictionaries.keySet()) { in isValidWord()
60 final Dictionary dictionary = dictionaries.get(key); in isValidWord()
77 public static int getMaxFrequency(final ConcurrentHashMap<String, Dictionary> dictionaries, in getMaxFrequency() argument
83 for (final String key : dictionaries.keySet()) { in getMaxFrequency()
85 final Dictionary dictionary = dictionaries.get(key); in getMaxFrequency()
96 final ConcurrentHashMap<String, Dictionary> dictionaries, in allowsToBeAutoCorrected() argument
99 (WhitelistDictionary)dictionaries.get(Suggest.DICT_KEY_WHITELIST); in allowsToBeAutoCorrected()
[all …]
DDictionaryCollection.java38 public DictionaryCollection(Dictionary... dictionaries) { in DictionaryCollection() argument
39 if (null == dictionaries) { in DictionaryCollection()
42 mDictionaries = new CopyOnWriteArrayList<Dictionary>(dictionaries); in DictionaryCollection()
47 public DictionaryCollection(Collection<Dictionary> dictionaries) { in DictionaryCollection() argument
48 mDictionaries = new CopyOnWriteArrayList<Dictionary>(dictionaries); in DictionaryCollection()
DSuggest.java121 final ConcurrentHashMap<String, Dictionary> dictionaries, in addOrReplaceDictionary() argument
124 ? dictionaries.remove(key) in addOrReplaceDictionary()
125 : dictionaries.put(key, dict); in addOrReplaceDictionary()
508 final HashSet<Dictionary> dictionaries = new HashSet<Dictionary>(); in close() local
509 dictionaries.addAll(mUnigramDictionaries.values()); in close()
510 dictionaries.addAll(mBigramDictionaries.values()); in close()
511 for (final Dictionary dictionary : dictionaries) { in close()