python library for easily constructing ngrams (2 <= n <= 4) and building sentences from them