Intermediate
10h
Building Grammatical Error Correction Models with Python
Learn to build spell checkers and grammar correction models using Python. Explore NLP packages, POS tagging, heuristic methods, and transformer-based spellcheckers for practical use.
In this course, you’ll learn the details of spell check and grammatical error correction systems by creating them with their basic building blocks. You’ll explore natural language processing packages like NLTK, pandas, spaCy, Fuzz, GECToR, HuggingFace, and more.
You’ll build the Norvig spellchecker and understand how modern machine learning-based spellcheckers work. This is followed by the mathematical concepts required for identifying part-of-speech (POS) tags for grammatical error checking. You’ll then implement a POS rule-based grammar checker, using a heuristic-based approach to correct grammar mistakes. Finally, you’ll learn to develop a transformer-based spellchecker using HuggingFace’s transformer libraries through a hands-on final project.
After completing this course, you’ll fully understand how modern spellcheckers and grammar correction software work and how these can be integrated into natural language corrector systems such as Grammarly.
In this course, you’ll learn the details of spell check and grammatical error correction systems by creating them with their bas...Show More
WHAT YOU'LL LEARN
An understanding of natural language distance techniques and how these are used in spell check systems
Hands-on experience building spellcheckers from scratch
An understanding of part-of-speech tagging and how it’s utilized in building grammar correction systems
An understanding of neural machine translation as a methodology for building modern grammar correction systems
Hands-on experience building transformer-based grammar correction systems using HuggingFace
An understanding of natural language distance techniques and how these are used in spell check systems
Show more
Content
1.
Introduction
2 Lessons
Get familiar with grammar parsing, spell checking, and essential NLP terminology in Python.
2.
Edit Distance
7 Lessons
Discover the logic behind edit distance, its algorithms, and practical NLP applications.
3.
Basic Spellchecker
8 Lessons
Examine spellchecker construction, models like Norvig's, and improve error correction accuracy.
4.
Modern Spell Check Methods
5 Lessons
Apply your skills to modern spell check methods using SymSpell, machine learning, and transformers.
5.
Part-of-Speech Tagging
6 Lessons
Map out the steps for POS tagging using HMMs, Viterbi, and NLTK tools.
6.
Basic Grammatical Error Checking
5 Lessons
Simplify complex topics in rule-based grammar checking and POS tagging implementation.
7.
Modern Grammar Error Correction Methods
3 Lessons
Practice using modern transformer-based methods for effective grammar error correction.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources