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

MacBert是否支持混淆集? #508

Closed 137315198 closed 3 months ago

137315198 commented 3 months ago

Describe the Question

请问MacBert是否支持混淆集? 除了kenlm,还有哪些模型支持混淆集?

shibing624 commented 3 months ago

支持, https://github.com/shibing624/pycorrector/blob/master/examples/macbert/model_correction_pipeline_demo.py