more algorithms in ngrams baseline