n-gramas em python, quatro, cinco, seis gramas?

Estou procurando uma maneira de dividir um texto em n gramas. Normalmente eu faria algo como: import nltk from nltk import bigrams string = "I really like python, it's pretty awesome." string_bigrams = bigrams(string) print string_bigrams Estou ciente de que o nltk oferece apenas bigrams e...