textblob 处理文本数据(英文)

安装

pip install textblob

我的版本:0.15.3

from textblob import TextBlob


string = "you arr best"
# 此处的 arr 应为 are

TextBlob(string).correct()

如果觉得文章不错,可以分享给其他人哟~
原文地址:https://www.cnblogs.com/hany-postq473111315/p/15314282.html