Easily rectify your spelling mistakes using Python. In this article, we will learn to create an offline Spelling Rectification Application in Python using modules like TextBlob, pyspellchecker & Flask.
Type in “Stendford University” on your search engine and you will notice that it provides you with results for “Standford University”. You must have realized that almost every time the search engine will provide you with the correct search results that you were looking for irrespective of spelling mistakes in your search query.
How is this made possible?
It is possible because the search engines use “spelling correction” algorithms before sending your request to the server so that the server returns you with results you were looking for. Spelling correction is a must-have for any modern search engine.
This was just one example of how and where Natural Language Processing is used to correct spelling mistakes. Spelling rectification helps you produce quality content and can be used in emails, documents, social media, articles(even Medium) etc.
In this article, we will learn to create an offline Spelling Rectification Application in Python using modules like TextBlob, **[pyspellchecker](https://pyspellchecker.readthedocs.io/en/latest/) & [Flask**](https://flask.palletsprojects.com/en/1.1.x/).
Before diving into the coding part let us first know about these modules briefly. If you are already familiar with these modules, you can directly jump to the next section.
Guide to Python Programming Language
Python is an interpreted, high-level, powerful general-purpose programming language. You may ask, Python’s a snake right? and Why is this programming language named after it?
Python Hello World Program - Your first step towards Python world. Learn how to create the Hello World Python program in PyCharm.
Python Programming Tutorials For Beginners
Today you're going to learn how to use Python programming in a way that can ultimately save a lot of space on your drive by removing all the duplicates. We gonna use Python OS remove( ) method to remove the duplicates on our drive. Well, that's simple you just call remove ( ) with a parameter of the name of the file you wanna remove done.