现成的工具包 https://github.com/shibing624/pycorrector 代码: import pycorrector corrected_sent, detail = pycorrector.correct('少先队员因该为老人让坐') print(corrected_sent, detail) https://github.com/ccheng16/correction https://github.com/PengheLiu/Cn_Speck_Checker https://github.com/taozhijiang/chinese_correct_wsd https://github.com/beyondacm/Autochecker4Chinese https://github.com/SeanLee97/xmnlp
|
|