python处理英文拼写错位

    科技2026-03-12  9

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

    from textblob import TextBlob b = TextBlob("I havve goood speling!") print(b.correct()) #I have good spelling!
    Processed: 0.012, SQL: 9