/LM-CNLC

Chinese Natural Language Correction via Language Model

Primary LanguagePython

Chinese Natural Language Correction via Language Model

Setup

  1. install requirements listed in ./requirements.txt
  2. place forward model in ./checkpoint/normal
  3. place backward model in ./checkpoint/reverse

Example

in demo.py

Reference

Junjie, Y., & Zhenghua, L. (n.d.). Chinese Spelling Error Detection and Correction Based on Language Model, Pronunciation, and Shape. Retrieved from http://www.aclweb.org/anthology/W14-6835