HomeSort by relevance Sort by last modified time
    Searched refs:BIGRAM (Results 1 - 5 of 5) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Dictionary.java 32 public static final int BIGRAM = 1;
49 * @param dataType tells type of this data, either UNIGRAM or BIGRAM
70 * Searches for pairs in the bigram dictionary that matches the previous word and all the
BinaryDictionary.java 135 mDicTypeId, Dictionary.BIGRAM);
Suggest.java 62 // User history dictionary for the bigram map, internal to LatinIME
210 protected void addBigramToSuggestions(SuggestedWordInfo bigram) {
211 mSuggestions.add(bigram);
392 * Adds all bigram predictions for prevWord. Also checks the lower case version of prevWord if
441 if (dataType == Dictionary.BIGRAM) {
ExpandableDictionary.java 35 // Bigram frequency is a fixed point number with 1 meaning 1.2 and 255 meaning 1.8.
517 * @param frequency frequency for this bigram
519 * @return returns the final bigram frequency
655 freq, mDicTypeId, Dictionary.BIGRAM);
    [all...]
  /packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
XmlDictInputOutput.java 47 private static final String BIGRAM_TAG = "bigram";
66 private static final int BIGRAM = 4;
154 // In this version of the XML file, the bigram frequency is given as an int 0..XML_MAX
156 // In memory and in the binary dictionary the bigram frequency is 0..MEMORY_MAX
181 WeightedString bigram = new WeightedString(dst, freq / XML_TO_MEMORY_RATIO); local
184 bigramList.add(bigram);
196 * SAX handler for a bigram XML file.
268 for (final WeightedString bigram : bigramList) {
269 if (!dict.hasWord(bigram.mWord)) continue;
270 dict.setBigram(firstWord, bigram.mWord, bigram.mFrequency)
    [all...]

Completed in 223 milliseconds