// Test bigrams know to NOT be in the language model (but the unigrams are)
Assert.assertEquals(lm.ngramLogProbability(vocab.getIDs("a boycott")), -4.678545f + -0.1195484f, 0.000001f);
Assert.assertEquals(lm.ngramLogProbability(vocab.getIDs("of parliament")), -3.875917f + -0.1991907f, 0.000001f);
Assert.assertEquals(lm.ngramLogProbability(vocab.getIDs("the potato")), -9.753210f + -0.1606644f, 0.000001f);
Assert.assertEquals(lm.ngramLogProbability(vocab.getIDs("potato parliament")), -3.875917f + -0.0f, 0.000001f);
// Test trigrams know to NOT be in the language model (but the bigrams are)
int[] words = vocab.getIDs("because of a");
double f = lm.ngramLogProbability(words);
Assert.assertEquals(f, -1.403534f + -0.03083654f, 0.000001f);