Calculate statistic with unigram and bigram sets