I Made Spelling Checker in Python

soniarpit

Arpit

Posted on July 14, 2020

I Made Spelling Checker in Python

Using textblob module

Installation

pip install textblob
Enter fullscreen mode Exit fullscreen mode

code

# using textblob

from textblob import TextBlob 

a = "comuter progrming is gret"
print("original text: "+str(a)) 

b = TextBlob(a) 

print("corrected text: "+str(b.correct()))    

Enter fullscreen mode Exit fullscreen mode

output

Alt Text

see second method here

💖 💪 🙅 🚩
soniarpit
Arpit

Posted on July 14, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related