Refactored ngram tokens.