ISCAS OpenIR  > 2009年期刊/会议论文
a sentence generation algorithm for testing grammars
Zheng Lixiao; Wu Duanyi
2009
Conference NameIEEE 33rd International Computer Software and Applications Conference
SourceProceedings - International Computer Software and Applications Conference
Pages130-135
Conference DateJUL 20-24,
Conference PlaceSeattle, WA
Indexed Typeistp,ieee,ei
Publish Place345 E 47TH ST, NEW YORK, NY 10017 USA
Publisher2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2
ISSN0730-3157
ISBN978-1-4244-4525-7
DepartmentZheng, Lixiao; Wu, Duanyi Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100864, Peoples R China.
English AbstractOne 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.
KeywordBy-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
SponsorshipIEEE
Language英语
Content Type会议论文
URIhttp://ir.iscas.ac.cn/handle/311060/8276
Collection2009年期刊/会议论文
Recommended Citation
GB/T 7714
Zheng Lixiao,Wu Duanyi. a sentence generation algorithm for testing grammars[C]. 345 E 47TH ST, NEW YORK, NY 10017 USA:2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2,2009:130-135.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Zheng Lixiao]'s Articles
[Wu Duanyi]'s Articles
Baidu academic
Similar articles in Baidu academic
[Zheng Lixiao]'s Articles
[Wu Duanyi]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Zheng Lixiao]'s Articles
[Wu Duanyi]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.