Classes for creating and manipulating word ngrams.