存在拼写错误时的Tokenization修复
Tokenization Repair in the Presence of Spelling Errors
摘要:
我们考虑下面的标记化修复问题:给定一个自然语言文本,其中包含任何丢失或虚假空格的组合,纠正这些空格。拼写错误可能存在,但纠正它们并不是问题的一部分。例如,给定:“Tispa per isabout token izaionrep air”,计算“Tis paper is about tokenizaion repair”。我们确定了高质量标记化修复的三个关键要素,这些要素都是以前工作中缺失的:具有双向组件的深层语言模型,在有拼写错误的文本上训练模型,以及利用已经存在的空间信息。我们的方法还改进了现有的拼写检查器,不仅修复了更多的标记化错误,还修复了更多的拼写错误:一旦清楚了哪些字符组成一个单词,他们就更容易找出正确的单词。我们提供了六个基准测试,涵盖三个用例(OCR错误,PDF文本提取,人为错误)以及部分正确的空间信息和所有空间缺失的情况。我们评估我们的方法对现有的最佳方法和一个非平凡的基线。我们在https://ad.cs.uni-freiburg.de/publications上提供完全的再现性。
英文摘要:
We consider the following tokenization repair problem: Given a natural language text with any combination of missing or spurious spaces, correct these. Spelling errors can be present, but it's not part of the problem to correct them. For example, given: "Tispa per isabout token izaionrep air", compute "Tis paper is about tokenizaion repair". We identify three key ingredients of high-quality tokenization repair, all missing from previous work: deep language models with a bidirectional component, training the models on text with spelling errors, and making use of the space information already present. Our methods also improve existing spell checkers by fixing not only more tokenization errors but also more spelling errors: once it is clear which characters form a word, it is much easier for them to figure out the correct word. We provide six benchmarks that cover three use cases (OCR errors, text extraction from PDF, human errors) and the cases of partially correct space information and all spaces missing. We evaluate our methods against the best existing methods and a non-trivial baseline. We provide full reproducibility under https://ad.cs.uni-freiburg.de/publications .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。