Improving testsuites via instrumentation

Norbert Bröker
2000 Proceedings of the sixth conference on Applied natural language processing -  
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 i0-30% of testing time is redundant. The
more » ... ology applied can be seen as a re-use of grammar writing knowledge for testsuite compilation.
doi:10.3115/974147.974192 dblp:conf/anlp/Broker00 fatcat:w3qo3ibw2bcvboxz6quygeebuu