arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.03204cs.CL
收藏

基于预训练上下文语言模型的拼写错误纠正

Misspelling Correction with Pre-trained Contextual Language Model

Purdue University(普渡大学)

Yifei Hu, Xiaonan Jing, Youlim Ko, Julia Taylor Rayz

摘要:

拼写不规则,现在被称为拼写错误,已经发现了几个世纪。作为人类,我们能够根据它们在句子中的位置,感知的发音和上下文来理解大多数拼写错误的单词。与人类不同,计算机系统不具备人脑所具备的方便的自动完成功能。虽然许多程序提供拼写校正功能,但许多系统不考虑上下文。此外,人工智能系统的功能是按照它们被训练的方式来运行的。由于目前许多自然语言处理(NLP)系统都是在语法正确的文本数据上训练的,因此许多系统在对抗性示例时很脆弱,但正确拼写的文本处理对学习至关重要。在本文中,我们研究了如何在上下文中纠正拼写错误,使用预训练的语言模型BERT。我们提出了两个实验,基于BERT和编辑距离算法,排名和选择候选更正。实验结果表明,当适当结合时,BERT和编辑距离的上下文词嵌入能够有效地纠正拼写错误。

英文摘要:

Spelling irregularities, known now as spelling mistakes, have been found for several centuries. As humans, we are able to understand most of the misspelled words based on their location in the sentence, perceived pronunciation, and context. Unlike humans, computer systems do not possess the convenient auto complete functionality of which human brains are capable. While many programs provide spelling correction functionality, many systems do not take context into account. Moreover, Artificial Intelligence systems function in the way they are trained on. With many current Natural Language Processing (NLP) systems trained on grammatically correct text data, many are vulnerable against adversarial examples, yet correctly spelled text processing is crucial for learning. In this paper, we investigate how spelling errors can be corrected in context, with a pre-trained language model BERT. We present two experiments, based on BERT and the edit distance algorithm, for ranking and selecting candidate corrections. The results of our experiments demonstrated that when combined properly, contextual word embeddings of BERT and edit distance are capable of effectively correcting spelling errors.

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

↑