Institutional Repository
| a sentence generation algorithm for testing grammars | |
| Zheng Lixiao; Wu Duanyi | |
| 2009 | |
| Conference Name | IEEE 33rd International Computer Software and Applications Conference |
| Source | Proceedings - International Computer Software and Applications Conference |
| Pages | 130-135 |
| Conference Date | JUL 20-24, |
| Conference Place | Seattle, WA |
| Indexed Type | istp,ieee,ei |
| Publish Place | 345 E 47TH ST, NEW YORK, NY 10017 USA |
| Publisher | 2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2 |
| ISSN | 0730-3157 |
| ISBN | 978-1-4244-4525-7 |
| Department | Zheng, Lixiao; Wu, Duanyi Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100864, Peoples R China. |
| English Abstract | 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. |
| Keyword | 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 |
| Sponsorship | IEEE |
| Language | 英语 |
| Content Type | 会议论文 |
| URI | http://ir.iscas.ac.cn/handle/311060/8276 |
| Collection | 2009年期刊/会议论文 |
| 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. | |||||
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment