(probably) works with ngrams of any length