中国科学院机构知识库网格
Chinese Academy of Sciences Institutional Repositories Grid
a sentence generation algorithm for testing grammars

文献类型:会议论文

作者Zheng Lixiao ; Wu Duanyi
出版日期2009
会议名称IEEE 33rd International Computer Software and Applications Conference
会议日期JUL 20-24,
会议地点Seattle, WA
关键词by-now folklore sentence generation algorithm complicated derivation structure context-free grammar testing error location grammar debugging length control mechanism user validation context-free grammars program debugging program testing program verification
页码130-135
英文摘要One simple approach to testing grammars is to derive a number of sentences from the grammar under test and to validate whether they comply with the intended language. Purdom has proposed a by-now folklore sentence generation algorithm which however suffers from the fact that the sentences generated are usually too few and some of them are long with complicated derivation structures. In this paper we present an improved algorithm which incorporates a length control mechanism into the generation process to produce more and simpler sentences. Experiments demonstrate that besides the benefits for user validation and error location, our algorithm is also helpful in highlighting more errors in some cases.
收录类别ISTP,IEEE,EI
会议主办者IEEE
会议录Proceedings - International Computer Software and Applications Conference
会议录出版者2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2
会议录出版地345 E 47TH ST, NEW YORK, NY 10017 USA
语种英语
ISSN号0730-3157
ISBN号978-1-4244-4525-7
源URL[http://124.16.136.157/handle/311060/8276]  
专题软件研究所_软件所图书馆_2009年期刊/会议论文
推荐引用方式
GB/T 7714
Zheng Lixiao,Wu Duanyi. a sentence generation algorithm for testing grammars[C]. 见:IEEE 33rd International Computer Software and Applications Conference. Seattle, WA. JUL 20-24,.

入库方式: OAI收割

来源:软件研究所

浏览0
下载0
收藏0
其他版本

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。