edited for n-gram length and twitter