In order to get accurately spelled versions of misspelled words, we will be using the difflib package. The main tool that we will be using in the package is the getClosestMatches() method, which allows us to find the closest spelling from a list of words by splitting the misspelled word into substrings.