How to do spelling correction in Python code example Example: python package for misspelled words pip install pyspellchecker