Lines Matching full:word2
48 public void setBigram(final String word1, final String word2, final int frequency);
53 public int getFrequency(final String word1, final String word2);
143 for (final String word2 : word1Bigrams.keySet()) {
144 final int freq = dict.getFrequency(word1, word2);
151 Log.d(TAG, "add unigram: " + word2 + "," + Integer.toString(freq));
154 + "," + word2 + "," + Integer.toString(freq));
159 fusionDict.add(word2, freq, null, false /* isNotAWord */);
164 fusionDict.setBigram(word1, word2, freq);
166 bigrams.updateBigram(word1, word2, (byte)freq);
210 final String word2 = unigrams.get(attr.mAddress);
211 if (word1 == null || word2 == null) {
212 Log.e(TAG, "Invalid bigram pair detected: " + word1 + ", " + word2);
215 to.setBigram(word1, word2,