python处理英文拼写错位

66 阅读1分钟

用 textblob 模块,快速处理拼写错误

from textblob import TextBlob
b = TextBlob("I havve goood speling!")
print(b.correct())
#I have good spelling!