0Pricing
NLP Academy · Lesson

Bigrams and Trigrams Explained

Sliding windows over tokens.

Naming the N-Grams

The n in n-gram is just a number. Pick n and you decide how many neighboring words each feature bundles together.

Meet the Bigram

A bigram is an n-gram of size two, every adjacent pair of words. It is the most common upgrade over plain single words. 👍

All lessons in this course

  1. Why Single Words Lose Meaning
  2. Bigrams and Trigrams Explained
  3. N-Gram Features in scikit-learn
  4. Choosing the Right N-Gram Range
← Back to NLP Academy