Free module
Natural language processing
Learn natural language processing hands on: tokens, word counts, TF-IDF, cosine similarity, text classification and word embeddings.
The lessons
Each lesson is free to read in full. Create a free account to run its commands in a live lab and to sit its quizzes and tasks.
1 · Container lab
How text is split into tokens
I can split text into tokens.
Read the lesson2 · Container lab
Bag of words and TF-IDF weights
I can count words and weight the ones that matter.
Read the lesson3 · Container lab
Cosine similarity between texts
I can measure how similar two texts are.
Read the lesson4 · Container lab
Classifying text with word counts
I can classify a text with word counts.
Read the lesson5 · Container lab
Word embeddings and where models go wrong
I can explain how words become vectors and where models go wrong.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.