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.58k stars 1.1k forks source link

模型文件路径问题 #481

Open 20246688 opened 7 months ago

20246688 commented 7 months ago

如果检测没有该文件, 则程序会自动联网下载。当然也可以手动下载模型文件(2.8G)并放置于该位置。请问自动下载的路径和手动下载的路径在哪里啊,我的是win10

shibing624 commented 7 months ago

https://deepspeech.bj.bcebos.com/zh_lm/zh_giga.no_cna_cmn.prune01244.klm 下载后,放置到~/.pycorrector/datasets/zh_giga.no_cna_cmn.prune01244.klm

20246688 commented 7 months ago

好的,请问还有其它模型吗

20246688 commented 7 months ago

少,先,队员因该为老人让坐,这种有标点符号怎么处理呢

shibing624 commented 7 months ago

有标点符号纠错模型,搜一下issue。

20246688 commented 7 months ago

你好,可以发一下具体的位置吗,标点符号纠错的,谢谢

20246688 commented 7 months ago

请问是提供这样的模型吗

shibing624 commented 7 months ago

https://huggingface.co/raynardj/classical-chinese-punctuation-guwen-biaodian