HomeSort by relevance Sort by last modified time
    Searched full:unigrams (Results 1 - 18 of 18) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
UserHistoryDictIOUtils.java 139 final TreeMap<Integer, String> unigrams = CollectionUtils.newTreeMap(); local
143 dictDecoder.readUnigramsAndBigramsBinary(unigrams, frequencies, bigrams);
151 addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
155 * Adds all unigrams and bigrams in maps to OnAddWordListener.
158 static void addWordsFromWordMap(final TreeMap<Integer, String> unigrams,
162 for (Entry<Integer, String> entry : unigrams.entrySet()) {
169 final String word2 = unigrams.get(attr.mAddress);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
dic_traverse_session.cpp 26 // 256K bytes threshold is heuristically used to distinguish dictionaries containing many unigrams
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DictionaryMaker.java 127 + "[-s <unigrams.xml> [-b <bigrams.xml>] [-c <shortcuts_and_whitelist.xml>] "
315 final FileInputStream unigrams = new FileInputStream(new File(unigramXmlFilename)); local
320 return XmlDictInputOutput.readDictionaryXml(unigrams, shortcuts, bigrams);
XmlDictInputOutput.java 300 * @param unigrams the file to read the data from.
305 public static FusionDictionary readDictionaryXml(final InputStream unigrams,
320 parser.parse(unigrams, unigramHandler);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DictDecoder.java 84 * Reads unigrams and bigrams from the binary file.
BinaryDictDecoderUtils.java 573 // words that are not also registered as unigrams so we don't have to avoid
BinaryDictIOUtils.java 141 * Reads unigrams and bigrams from the binary file.
  /external/chromium_org/third_party/cld/encodings/compact_lang_det/
tote.cc 32 // Increment count of quadgrams/trigrams/unigrams scored
cldutil.cc 19 // unigrams (CJK), bigrams (CJK), quadgrams, and octagrams.
20 // Unigrams and bigrams are for CJK languages only, including simplified/
422 // Score up to n unigrams, returning number of bytes consumed
compact_lang_det_impl.cc     [all...]
cldutil.h     [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java 128 // Add bigrams of not valid unigrams.
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtilsTests.java 60 // 1500 is the default max unigrams
BinaryDictDecoderEncoderTests.java 144 * Adds unigrams to the dictionary.
393 // check unigrams
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Suggest.java 362 // At second character typed, search the unigrams (scores being affected by bigrams)
ExpandableBinaryDictionary.java 123 * Abstract method for loading the unigrams and bigrams of a given dictionary in a background
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_writing_helper.cpp 502 // TODO: Remove more unigrams.
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 553 FSTERROR() << "Missing unigrams";

Completed in 155 milliseconds