Natural Language Processing (NLP)
Module 7 · Counting words and classical vectors
Bag of words, n-grams, TF-IDF, cosine search, and the places where counts break: negation, word order, synonyms, and words with two meanings.
5 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 5
7.1 Bag of words and n-grams
-
Lesson 2 of 5
7.2 TF-IDF by hand
-
Lesson 3 of 5
7.3 Cosine similarity and search
-
Lesson 4 of 5
7.4 Sparse vectors in code
-
Lesson 5 of 5
7.5 Where counting breaks