中文文本纠错算法--错别字纠正的二三事

现成的工具包

  https://github.com/shibing624/pycorrector

代码:

import pycorrectorcorrected_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

(0)

相关推荐