首页 | 本学科首页   官方微博 | 高级检索  
     


A Toolkit for Generating Sentences from Context-Free Grammars
Authors:Zhiwu Xu  Lixiao Zheng  Haiming Chen
Abstract:Producing sentences from a grammar, according to various criteria, is required in many applications. It is also a basic building block for grammar engineering. This paper presents a toolkit for context-free grammars, which mainly consists of several algorithms for sentence generation or enumeration and for coverage analysis for context-free grammars. The toolkit deals with general context-free grammars. Besides providing implementations of algorithms, the toolkit also provides a simple graphical user interface, through which the user can use the toolkit directly. The toolkit is implemented in Java and is available at http://lcs.ios.ac.cn/~zhiwu/toolkit.php. In the paper, the overview of the toolkit and the major algorithms implemented in the toolkit are presented, and experimental results andpreliminary applications of the toolkit are also contained.
Keywords:context-free grammars   sentence generation   sentence enumeration   coverage criteria   toolkit
点击此处可从《International Journal of Software and Informatics》浏览原始摘要信息
点击此处可从《International Journal of Software and Informatics》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号