/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ExpandableDictionary.java | 294 LinkedList<NextWord> bigrams = firstWord.mNGrams; 296 if (bigrams == null || bigrams.size() == 0) { 299 for (NextWord nw : bigrams) { 309 return bigrams.remove(bigramNode); 326 LinkedList<NextWord> bigrams = firstWord.mNGrams; 327 if (bigrams == null || bigrams.size() == 0) { 330 for (NextWord nw : bigrams) { 511 * Adds bigrams to the in-memory trie structure that is being used to retrieve any wor 535 LinkedList<NextWord> bigrams = firstWord.mNGrams; local [all...] |
ContactsBinaryDictionary.java | 197 * bigrams depending on locale.
|
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
|
LatinIME.java | [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.cpp | 45 // Check bigrams for lower-cased previous word if original was not found. Useful for
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/ |
bigram_list_read_write_utils.h | 45 // Bigrams reading methods
|
dynamic_bigram_list_policy.h | 52 // Copy bigrams from the bigram list that starts at fromPos in mBuffer to toPos in
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_node_reader.h | 128 // Bigrams position
|
dynamic_patricia_trie_writing_helper.cpp | 514 // TODO: Remove more bigrams.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderUtils.java | 462 ArrayList<WeightedString> bigrams = null; local 464 bigrams = new ArrayList<WeightedString>(); 471 bigrams.add(new WeightedString(word.mWord, reconstructedFrequency)); 484 new PtNode(info.mCharacters, shortcutTargets, bigrams, 490 new PtNode(info.mCharacters, shortcutTargets, bigrams, 572 // By construction a binary dictionary may not have bigrams pointing to
|
BinaryDictIOUtils.java | 67 final Map<Integer, ArrayList<PendingAttribute>> bigrams, 111 if (info.mBigrams != null) bigrams.put(info.mOriginalAddress, info.mBigrams); 141 * Reads unigrams and bigrams from the binary file. 147 * @param bigrams the map to store the address as a key and the list of address as a value. 153 final Map<Integer, ArrayList<PendingAttribute>> bigrams) throws IOException, 158 frequencies, bigrams, header.mFormatOptions);
|
FormatSpec.java | 41 * t | has bigrams ? 1 bit, 1 = yes, 0 = no : CONTAINS_BIGRAMS_FLAG 108 * | has bigrams ? 1 bit, 1 = yes, 0 = no : FLAG_HAS_BIGRAMS 156 * | bigrams address list
|
BinaryDictEncoderUtils.java | 612 * @param hasBigrams whether the PtNode has bigrams. 663 * @param more whether there are more bigrams after this one. [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOUtilsTests.java | 188 final boolean exist, final ArrayList<WeightedString> bigrams, 204 dictUpdater.insertWord(word, frequency, bigrams, shortcuts, false, false);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryTests.java | 650 final HashSet<Pair<String, String>> bigrams = new HashSet<Pair<String, String>>(); local [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
cldutil.cc | 19 // unigrams (CJK), bigrams (CJK), quadgrams, and octagrams. 20 // Unigrams and bigrams are for CJK languages only, including simplified/ 501 // Score all bigrams in isrc, using languages that have bigrams (CJK) 502 // Return number of bigrams that hit in the hash table 549 fprintf(stderr, "[%d bigrams scored]\n", hit_count);
|
cldutil.h | [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
BinaryDictOffdeviceUtils.java | 178 null /* shortcuts */, null /* bigrams */);
|
Diff.java | 131 // We found the word. Compare frequencies, shortcuts, bigrams
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
MainLogBuffer.java | 75 // The size of the n-grams logged. E.g. N_GRAM_SIZE = 2 means to sample bigrams.
|
ResearchLogger.java | 117 // Whether all words should be recorded, leaving unsampled word between bigrams. Useful for [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsFragment.java | 68 // Use bigrams to predict the next word when there is no input for it yet
|
SettingsValues.java | 76 // Use bigrams to predict the next word when there is no input for it yet
|