AMAZON
In NLP, the use of n-grams allows bag-of-words models to capture information such as word order, which would not be possible in the traditional bag of words setting. https://en.wikipedia.org/wiki/N-gram
NGram source code: https://github.com/calebnwokocha/Logic/blob/master/src/AI/NGram.java