Correcting typos and various spelling mistakes can be directly done using Linux Terminal.
This is because it already has a useful interactive spell checker tool – aspell. It can help in quickly checking documents for typos and fix them.
Here is how to use it:
To list all the possible typos present in a document, run the command:
aspell list < nameofdocument
It will then check for typos if any:
To correct them, use the check parameter:
aspell will display a list of alternative correct replacements for the mistyped words. Use the numbers corresponding to each of them. Also, other possible actions like ignoring, replacing or adding new words can also be performed. Choose as needed.
However, it won’t check for logical errors. That means if a word with an incorrect usage/reference is used but is grammatically correct , it won’t count that as a typo.
For replacing the mistyped word, use the r option and enter it’s replacement if it’s not listed.
All done.
If a spell check is run again, aspell won’t show a list of typos anymore.
Happy typing.
Thank you so much for this facts, my one major trouble is all of the command line switches and if there in higher or lower case and are of the equal context/which means for every of the instructions. This facilitates to make linux mint a real community effort ..Thanks to this and other tutorials I got to in which I am, using LMDE as my platform, and I am not looking for this sort of data as a good deal as in the starting. But this is exactly the factor: These tutorials helped me and others to attain this point, where we use LM and its all running for us!!