It should prompt whether a user want to correct the word or not. The helpful library is https://github.com/AlecAivazis/survey