HomeSort by relevance Sort by last modified time
    Searched defs:bigram (Results 1 - 2 of 2) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java 298 // Testing bigram link.
342 final Pair<String, String> bigram = new Pair<>(word0, word1); local
343 bigramWords.add(bigram);
347 bigramProbabilities.put(bigram, bigramProbability);
351 for (final Pair<String, String> bigram : bigramWords) {
352 final int bigramProbability = bigramProbabilities.get(bigram);
354 isValidBigram(binaryDictionary, bigram.first, bigram.second));
356 getBigramProbability(binaryDictionary, bigram.first, bigram.second))
480 final Pair<String, String> bigram = new Pair<>(word0, word1); local
563 final Pair<String, String> bigram = new Pair<>(word0, word1); local
578 final Pair<String, String> bigram = bigramWords.get(i); local
843 final Pair<String, String> bigram = new Pair<>(word0, word1); local
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
FusionDictionary.java 165 * Adds a word to the bigram list. Updates the probability information if the word already
172 WeightedString bigram = getBigram(word); local
173 if (bigram != null) {
174 bigram.mProbabilityInfo = probabilityInfo;
176 bigram = new WeightedString(word, probabilityInfo);
177 mBigrams.add(bigram);
182 * Gets the bigram for the given word.
190 WeightedString bigram = mBigrams.get(i); local
191 if (bigram.mWord.equals(word)) {
192 return bigram;
214 final WeightedString bigram = bigrams.get(i); local
    [all...]

Completed in 212 milliseconds