arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.13242cs.CLcs.IRcs.LGstat.ML
收藏

使用ByT5 Transformer模型纠正变音符号和拼写错误

Correcting diacritics and typos with a ByT5 transformer model

Kaunas University of Technology(考纳斯理工大学);Vytautas Magnus University(维陶塔斯·马格努斯大学)

Lukas Stankevičius, Mantas Lukoševičius, Jurgita Kapočiūtė-Dzikienė, Monika Briedienė, Tomas Krilavičius

摘要:

由于生活和在线交流的快节奏以及英语和QWERTY键盘的流行,人们倾向于放弃使用变音符号,在用其他语言打字时会出现打字错误(错别字)。恢复变音符号和纠正拼写对于正确的语言使用和文本的消歧对于人类和下游算法都很重要。然而,这两个问题通常是单独解决的:最先进的变音符号恢复方法不容忍其他错别字,但经典的拼写检查程序也不能充分处理所有的变音符号丢失。在这项工作中,我们解决了这两个问题,一次采用新开发的通用ByT5字节级seq2seq Transformer模型,不需要特定于语言的模型结构。为了进行比较,我们在12种语言的基准数据集上执行变音符号恢复,并添加了立陶宛语。实验研究证明,我们的方法能够实现与以前的最先进技术相当的结果(> 98%),尽管训练较少,数据较少。我们的方法还能够以> 76%的准确率恢复训练期间未看到的单词中的变音符号。我们的同步变音符号恢复和错别字纠正方法在13种语言上达到了> 94%的字母词准确率。它没有直接的竞争对手,并且远远优于传统的拼写检查或基于字典的方法。我们还展示了所有的准确性,以进一步提高更多的培训。总之,这表明我们建议的方法在更多数据,语言和错误类中具有巨大的实际应用潜力。

英文摘要:

Due to the fast pace of life and online communications and the prevalence of English and the QWERTY keyboard, people tend to forgo using diacritics, make typographical errors (typos) when typing in other languages. Restoring diacritics and correcting spelling is important for proper language use and the disambiguation of texts for both humans and downstream algorithms. However, both of these problems are typically addressed separately: the state-of-the-art diacritics restoration methods do not tolerate other typos, but classical spellcheckers also cannot deal adequately with all the diacritics missing. In this work, we tackle both problems at once by employing the newly-developed universal ByT5 byte-level seq2seq transformer model that requires no language-specific model structures. For a comparison, we perform diacritics restoration on benchmark datasets of 12 languages, with the addition of Lithuanian. The experimental investigation proves that our approach is able to achieve results (> 98%) comparable to the previous state-of-the-art, despite being trained less and on fewer data. Our approach is also able to restore diacritics in words not seen during training with > 76% accuracy. Our simultaneous diacritics restoration and typos correction approach reaches > 94% alpha-word accuracy on the 13 languages. It has no direct competitors and strongly outperforms classical spell-checking or dictionary-based approaches. We also demonstrate all the accuracies to further improve with more training. Taken together, this shows the great real-world application potential of our suggested methods to more data, languages, and error classes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑