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.

Intermediate

37 Lessons

10h

Certificate of Completion

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.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

1 Project
12 Playgrounds
11 Challenges
12 Quizzes

This course includes

1 Project
12 Playgrounds
11 Challenges
12 Quizzes

Course Overview

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 ...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

What You'll Learn

An understanding of natural language distance techniques and how these are used in spell check systems

Show more

Course Content

1.

Introduction

Get familiar with grammar parsing, spell checking, and essential NLP terminology in Python.
2.

Edit Distance

Discover the logic behind edit distance, its algorithms, and practical NLP applications.
3.

Basic Spellchecker

Examine spellchecker construction, models like Norvig's, and improve error correction accuracy.
4.

Modern Spell Check Methods

Apply your skills to modern spell check methods using SymSpell, machine learning, and transformers.
5.

Part-of-Speech Tagging

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.

Project: Simple Transformer

Project

8.

Conclusion

1 Lesson

Step through the essential techniques and methods for developing grammatical error correction models.

Auto-Tagging System for Content Categorization

Project

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor