This Script is used to detect spelling errors in a text and correct them if the user wishes to do so.
- Create a Virtual Environment.
- Install the requirements by using
pip3 install -r requiremnts.txt
- Hurray.! You're ready to use the Script.
- 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.
-
Run the script using
python3 automatic_spelling_checker_corrector.py
-
When asked for input file enter
input.txt
-
Errors are displayed. If you want to correct the errors enter
y
oryes
when asked.
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.