Spelling Checker – NLP



This content originally appeared on DEV Community and was authored by datatoinfinity

Why you need Spell Checker?

A spell checker is a software feature, often integrated into word processors, email clients, or other text-based applications, that identifies potential misspellings in text by comparing the words to a built-in dictionary. It highlights potential errors, often with underlines (red for spelling, green for grammar in some programs), and provides suggestions for corrections.

Search Engine

User searches:

“restarant near me”

Spell checker in Google understands:

“Did you mean: restaurant near me?”

It corrects the typo silently and gives you correct results.

Why add spell checker?

Saves Time, building spell checker from scratch requires big dictionary of correct words, rules of grammar, possibly training a model on thousand of example would be better choice.

Before starting this model you must get familiar with String, Regular Expression and nltk library.

I will start in next series with Finding the probability distribution


This content originally appeared on DEV Community and was authored by datatoinfinity