xlxwalex / FCGEC

The Corpus & Code for EMNLP 2022 paper "FCGEC: Fine-Grained Corpus for Chinese Grammatical Error Correction" | FCGEC中文语法纠错语料及STG模型
https://aclanthology.org/2022.findings-emnlp.137
Apache License 2.0
104 stars 12 forks source link

Sentence text type identification using FCGEC-Joint #39

Closed kalixim closed 2 months ago

kalixim commented 2 months ago

Hello, I have finished the error correction according to the steps you provided, but now I want to predict the error type identification for every text at the same time. Can I use FCGEC-Joint and get the desired result by changing some params? If so could you please give me an example?Thank you very much.

xlxwalex commented 2 months ago

Hi,

The main code in our repository is for Error Correction task. Since for the two sub-tasks of error detection and error type identification, we only utilized the simplest pre-trained model with the fully connected layers for fine-tuning, we did not provide the code for this part directly in the repository.

However, you can refer to the code for type identification in the TaggerModelTTI class of the tagger_model.py file.