A python data structure class for storing and querying n-grams.