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
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。