用 textblob 模块,快速处理拼写错误 from textblob import TextBlob b = TextBlob("I havve goood speling!") print(b.correct()) #I have good spelling!