A trigram is a sequence of three adjacent or ordered items, usually words, characters, or tokens. In natural language processing, trigrams are used to model local context, phrase patterns, and statistical relationships in text.
An N-gram in which N=3.