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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
UserHistoryDictIOUtils.java 164 final int unigramFrequency = frequencies.get(entry.getKey());
165 to.setUnigram(word1, null /* shortcutTarget */, unigramFrequency, 0 /* shortcutFreq */);
175 BinaryDictIOUtils.reconstructBigramFrequency(unigramFrequency,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
BinaryDictEncoderUtils.java 666 * @param unigramFrequency the unigram frequency of the same word, 0..255.
671 int bigramFrequency, final int unigramFrequency, final String word) {
687 if (unigramFrequency > bigramFrequency) {
690 + word + " is " + unigramFrequency);
691 bigramFrequency = unigramFrequency;
707 // by adding half-a-step to the unigramFrequency. From there, we compute the integer
    [all...]
BinaryDictIOUtils.java 588 * @param unigramFrequency
592 public static int reconstructBigramFrequency(final int unigramFrequency,
594 final float stepSize = (FormatSpec.MAX_TERMINAL_FREQUENCY - unigramFrequency)
596 final float resultFreqFloat = unigramFrequency + stepSize * (bigramFrequency + 1.0f);

Completed in 2352 milliseconds