Automatic Spelling Checker and Corrector
This Script is used to detect spelling errors in a text and correct them if the user wishes to do so.
Setup
- Create a Virtual Environment.
- Install the requirements by using
pip3 install -r requiremnts.txt - Hurray.! You're ready to use the Script.
Prerequisites
- If you are using text place it in input.txt file.
- If you want to use your own file place it in the current directory where the program exists.
Running a file
Run the script using
python3 automatic_spelling_checker_corrector.pyWhen asked for input file enter
input.txtErrors are displayed. If you want to correct the errors enter
yoryeswhen asked.
Sample Test Case
The input.txt file contains some misspelt text.
Run the script and observe that output.txt file is created and it contains the corrected text.