destwang / DCN

Dynamic Connected Networks for Chinese Spelling Check
Apache License 2.0
49 stars 7 forks source link

can you release predict code? #4

Closed leon2milan closed 2 years ago

leon2milan commented 3 years ago

I don't know how do you generate data. After I train my model, I can't get predictions.

destwang commented 3 years ago

Thank you for your feedback. I will provide a separate prediction script these days.

leon2milan commented 3 years ago

Thank you for reply. I have another question. I don't have so many data. So I cannot train a proper Language model. Is there other way to check whether the sentence is correct? Thank You.

destwang commented 2 years ago

You can obtain some unlabeled correct texts from the Internet (such as Wikipedia), and then use some heuristic methods to construct erroneous sentences as training data.