The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Find sequences of words (n-grams) using Natural

Find sequences of words (n-grams) using Natural

2:06
N-grams are sequences of words, where the 'n' stands for the number of words in the sequence. In this lesson, we will see how to find bigrams (2-grams), trigrams (3-grams), and any other length n-gram in a body of text.
Watch this lesson now
Avatar
egghead.io

N-grams are sequences of words, where the 'n' stands for the number of words in the sequence. In this lesson, we will see how to find bigrams (2-grams), trigrams (3-grams), and any other length n-gram in a body of text.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?