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

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
Ver4DictDecoder.java 97 for (final WeightedString bigram : wordProperty.getBigrams()) {
98 fusionDict.setBigram(word0, bigram.mWord, bigram.mProbabilityInfo);
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...]
BinaryDictEncoderUtils.java 230 // extreme overhead at bigram lookup time (it would make the search function O(n) instead
338 for (WeightedString bigram : ptNode.mBigrams) {
341 FusionDictionary.findWordInTree(dict.mRootNodeArray, bigram.mWord));
552 * Makes the flag value for a bigram.
555 * @param offset the offset of the bigram.
556 * @param bigramFrequency the frequency of the bigram, 0..255.
558 * @param word the second bigram, for debugging purposes
580 MakedictLog.e("Unigram freq is superior to bigram freq for \"" + word
581 + "\". Bigram freq is " + bigramFrequency + ", unigram freq for "
598 // value of the 16th step. In all justice, if the bigram frequency is low enough to b
    [all...]
  /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/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Info.java 62 System.out.println("Bigram count : " + bigramCount);
96 for (final WeightedString bigram : bigrams) {
98 " Bigram: " + bigram.mWord + " (" + bigram.getProbability() + ")");
  /packages/inputmethods/LatinIME/native/jni/
NativeFileList.mk 29 bigram/bigram_list_read_write_utils.cpp \
120 $(addprefix dictionary/structure/backward/v402/bigram/, \

Completed in 472 milliseconds