NLP Tutorial in Python (codebasics)
By codebasics
- Course audio
- Course audio: English
- Level
- Intermediate
- Length
- 28 lessons · 13.4 hours
What you'll be able to do
- Clean and tokenise text with regex and spaCy
- Represent text with bag of words, TF-IDF and word vectors
- Train a text classifier
- Build a chatbot project end to end
About this course
A 28-lesson, roughly 13-hour natural language processing course in Python. Season 1 covers why NLP matters, regex for NLP, common NLP tasks and the NLP pipeline, spaCy versus NLTK, tokenisation, stemming and lemmatisation, part-of-speech tagging and named entity recognition. Season 2 moves to text representation: label and one-hot encoding, bag of words, TF-IDF, word vectors in spaCy and fastText. Season 3 builds a chatbot end to end in Dialogflow, and a final project classifies logs with regex, BERT and an LLM. A practical choice for developers who want to work with text data.
Before you start: Python and machine learning basics
Syllabus
28 lessons · 13:26:11 in total
- 1Introduction | NLP Tutorial For Beginners In Python - Season 1 Episode 110:07
- 2Why NLP is booming right now? | NLP Tutorial For Beginners In Python - S1 E27:08
- 3Regex For NLP: NLP Tutorial For Beginners In Python - S1 E344:27
- 4Three Category Of Techniques for NLP : NLP Tutorial For Beginners In Python - S1 E412:35
- 5NLP Tasks: NLP Tutorial For Beginners In Python - S1 E522:38
- 6NLP Pipeline: NLP Tutorial For Beginners In Python - S1 E626:02
- 7Spacy vs NLTK: NLP Tutorial For Beginners In Python - S1 E715:00
- 8Tokenization in Spacy: NLP Tutorial For Beginners - S1 E835:46
- 9Language Processing Pipeline in Spacy: NLP Tutorial For Beginners - S1 E918:49
- 10Stemming and Lemmatization: NLP Tutorial For Beginners - S1 E1016:46
- 11Part Of Speech POS Tagging: NLP Tutorial For Beginners - S1 E1125:49
- 12Named Entity Recognition (NER): NLP Tutorial For Beginners - S1 E1222:34
- 13Text Representation Basics: NLP Tutorial For Beginners - Season 2 Episode 112:26
- 14Text Representation: Label & One Hot Encoding: NLP Tutorial For Beginners - S2 E214:56
- 15Text Representation Using Bag Of Words (BOW): NLP Tutorial For Beginners - S2 E333:58
- 16Stop Words: NLP Tutorial For Beginners - S2 E418:43
- 17Text Representation Using Bag Of n-grams: NLP Tutorial For Beginners - S2 E537:18
- 18Text Representation Using TF-IDF: NLP Tutorial For Beginners - S2 E636:18
- 19Text Representation Using Word Embeddings: NLP Tutorial For Beginners - S2 E78:11
- 20Word vectors in Spacy overview: NLP Tutorial For Beginners - S2 E813:44
- 21News classification using Spacy word vectors: NLP Tutorial For Beginners - S2 E913:43
- 22Word vectors in Gensim overview: NLP Tutorial For Beginners - S2 E1014:38
- 23News classification using Gensim word vectors: NLP Tutorial For Beginners - S2 E1115:26
- 24fastText Tutorial | Train Custom Word Vectors in fastText | NLP Tutorial For Beginners - S2 E1236:08
- 25fastText tutorial | Text Classification Using fastText | NLP Tutorial For Beginners - S2 E1320:59
- 26Introduction to Chatbots | NLP Tutorial | S3 E114:15
- 27End-to-End NLP Project | Build a Chatbot in Dialogflow | NLP Tutorial | S3 E22:55:23
- 28Gen AI Project | Log Classification System Using Deepseek R1 LLM, NLP, Regex, BERT1:22:24
What to take next

Neural Networks: Zero to Hero (Andrej Karpathy)
Andrej Karpathy
English18.6 h9 lessonsAdvanced

MIT 6.0001: Introduction to Computer Science and Programming in Python
MIT OpenCourseWare
English10 h38 lessonsIntermediate

CS50's Introduction to Artificial Intelligence with Python
CS50
English12.7 h8 lessonsIntermediate
Related courses
Videos by codebasics, played from their official YouTube channel. Subscribe on YouTube
Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.
Lessons listed from the official YouTube playlist. Full playlist on YouTube
Lessons last checked Oct 2026. Course summary and lesson structure by Sabaq.
Report a problem or a rights request