Lines Matching full:word2
56 public int getFrequency(String word1, String word2) {
70 private void addBigram(final String word1, final String word2,
73 addWord(word2, addedWords);
74 addedWords.get(word1).add(word2);
77 private void addBigramToBigramList(final String word1, final String word2,
81 bigramList.addBigram(word1, word2);
83 addBigram(word1, word2, addedWords);
219 public void setBigram(final String word1, final String word2, final int frequency) {
220 Log.d(TAG, "in: setBigram: " + word1 + "," + word2 + "," + frequency);
221 resultList.addBigram(word1, word2, (byte)frequency);
243 public void setBigram(final String word1, final String word2, final int frequency) {
244 Log.d(TAG, "in: setBigram: " + word1 + "," + word2 + "," + frequency);
245 resultList2.addBigram(word1, word2, (byte)frequency);