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

通过插装改进测试套件

Improving Testsuites via Instrumentation

Norbert Broeker

摘要:

本文探讨的有用性的技术,从软件工程,即代码插装,大规模自然语言语法的发展。测试句子中语法规则的使用信息被用来检测未测试的规则,冗余的测试句子,和可能的原因过度生成。结果表明,不到一半的大覆盖率的语法,德语实际上是由两个大的测试套件测试,10-30%的测试时间是多余的。所应用的方法可以被看作是重新使用语法编写知识的测试套件编译。

英文摘要:

This paper explores the usefulness of a technique from software engineering, namely code instrumentation, for the development of large-scale natural language grammars. Information about the usage of grammar rules in test sentences is used to detect untested rules, redundant test sentences, and likely causes of overgeneration. Results show that less than half of a large-coverage grammar for German is actually tested by two large testsuites, and that 10-30% of testing time is redundant. The methodology applied can be seen as a re-use of grammar writing knowledge for testsuite compilation.

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

↑