School of International Education, Changchun University, Changchun 132022, China.
International Exchange and Cooperation Department, Changchun University, Changchun, Jilin 132022, China.
J Environ Public Health. 2022 Aug 24;2022:2614899. doi: 10.1155/2022/2614899. eCollection 2022.
In order to further improve the performance of the automatic grammar error detection system, a new Chinese grammar recognition and correction model is proposed in this paper. Based on the transformer attention mechanism, the bias matrix of Gaussian distribution is added to improve the attention of the model to local text and strengthen the information extraction of wrong words and surrounding words in the wrong text. In addition, the ON_LSTM model is used to extract grammatical information from the special grammatical structure of error text. The experimental results show that the two methods can effectively improve the accuracy and recall rate, and the fused model achieves the highest 1 value. Finally, the Chinese text error correction system is designed to expand the application scope of the model, which helps to reduce the human cost in language learning.
为了进一步提高自动语法错误检测系统的性能,本文提出了一种新的中文语法识别和纠正模型。该模型基于变形注意力机制,加入了高斯分布的偏差矩阵,以提高模型对局部文本的注意力,加强对错误文本中错误单词和周围单词的信息提取。此外,还使用 ON_LSTM 模型从错误文本的特殊语法结构中提取语法信息。实验结果表明,这两种方法可以有效提高准确率和召回率,融合模型达到了最高的 F1 值。最后,设计了中文文本纠错系统,以扩展模型的应用范围,有助于降低语言学习中的人力成本。