How it works
An n-gram is a contiguous sequence of n words from a text. Bigrams are 2-word sequences ("machine learning"); trigrams are 3-word ("artificial neural network").
The analyzer counts every n-gram, filters by minimum frequency, and optionally drops phrases composed entirely of stopwords.
Lowercase normalization treats "The Cat" and "the cat" as the same n-gram — usually what you want for analysis.