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...] |