shibing624 / pycorrector

pycorrector is a toolkit for text error correction. 文本纠错,实现了Kenlm,T5,MacBERT,ChatGLM3,Qwen2.5等模型应用在纠错场景,开箱即用。
https://www.mulanai.com/product/corrector/
Apache License 2.0
5.61k stars 1.1k forks source link

语言模型与中文纠错模型怎么配合使用 #108

Closed ZengHorace closed 4 years ago

ZengHorace commented 5 years ago

作者大大,语言模型与中文纠错模型是啥区别啊,怎么配合用,我就理解了你说的中文纠错模型,输入一个有问题的句子,出来纠正后的句子,那么语言模型在这是怎么用啊

shibing624 commented 5 years ago

理解一下语言模型的原理比较好,link: https://github.com/shibing624/pycorrector/wiki/%E7%BB%9F%E8%AE%A1%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E5%8E%9F%E7%90%86

ZengHorace commented 4 years ago

您发的链接我有看,它是可以做拼音到汉字的解码,但怎么应用到您说的中文纠错呢

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.(由于长期不活动,机器人自动关闭此问题,如果需要欢迎提问)