计算机科学 > 计算与语言
[提交于 2000年5月10日]
标题:Improving Testsuites via Instrumentation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Norbert Broeker[v1] 2000年5月10日 星期三 14:51:14 UTC