Language & LLMs
What Is an N-gram?
An n-gram is a contiguous sequence of n items, such as words or characters, from a text. For example, a bigram consists of two consecutive words. N-grams capture some local word order and are used in language modeling, text features, and search.
Further reading
Read more about n-gram — articles and blogs from around the web: