结合基于三角形和语义的上下文相关拼写纠正方法
Combining Trigram-based and Feature-based Methods for Context-Sensitive Spelling Correction
摘要:
本文讨论了纠正拼写错误的问题,导致有效的,但意外的话(如“和平”和“件”,或“安静”和“quite”),也纠正特定的词的使用错误的问题(如“不”和“数”,或“之间”)。这种更正需要上下文信息,并且不能由诸如Unix“spell”之类的常规拼写程序处理。首先,我们介绍一种称为Trigrams的方法,它使用词性三元组来编码上下文。与以前基于单词三元组的方法相比,该方法使用了少量的参数。然而,它实际上无法区分具有相同词性的单词。对于这种情况,一种称为贝叶斯的基于特征的方法表现得更好;但是当单词之间的区别取决于句法约束时,贝叶斯不如三元组有效。然后介绍了一种称为Tribayes的混合方法,它结合了前两种方法中的最佳方法。实验验证了Tribayes的性能改善。Tribayes还与Microsoft Word中的语法检查器进行了比较,并发现其具有更高的性能。
英文摘要:
This paper addresses the problem of correcting spelling errors that result in valid, though unintended words (such as ``peace'' and ``piece'', or ``quiet'' and ``quite'') and also the problem of correcting particular word usage errors (such as ``amount'' and ``number'', or ``among'' and ``between''). Such corrections require contextual information and are not handled by conventional spelling programs such as Unix `spell'. First, we introduce a method called Trigrams that uses part-of-speech trigrams to encode the context. This method uses a small number of parameters compared to previous methods based on word trigrams. However, it is effectively unable to distinguish among words that have the same part of speech. For this case, an alternative feature-based method called Bayes performs better; but Bayes is less effective than Trigrams when the distinction among words depends on syntactic constraints. A hybrid method called Tribayes is then introduced that combines the best of the previous two methods. The improvement in performance of Tribayes over its components is verified experimentally. Tribayes is also compared with the grammar checker in Microsoft Word, and is found to have substantially higher performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。