The text correction tools from xfyun api
- python3.x
- Request
- json
- configparser
- 首先在讯飞云网站申请一个APPID,APPKEY和APISecret,网址为https://console.xfyun.cn/services/text_check
- 将申请的认证信息复制到本项目的config.ini文件所对应的关键字中
- 开启终端,windows/CMD,macos/terminal等等
-
python TextCorrection.py
- 修改后的文本会打印到终端中,更正的地方用黄色字体"[xxx]"表示
个人体验还行,准确率不高,但召回率高