Write some n-gram methods for individual words