期刊文献+

基于产生式集划分的上下文无关语言句子生成 被引量:3

Generating Sentences of CFL Based on Partition of CFG Production Set
下载PDF
导出
摘要 给出了上下文无关文法 (context- free grammar,简称 CFG)产生式集的一种划分方法 ,可将产生式分为两类 .使用一类产生式进行推导时 ,推导过程将无限进行下去 ;使用另一类进行推导时 ,推导过程将迅速结束 .证明了 CFG句子生成过程一定是先使用一类产生式使生成的句型不断变长、变复杂 ,再使用另一类产生式使句型变成句子 .据此 ,提出了一种可控制的通用句子生成方法 .其生成一条句子的时间和空间复杂度是 O(r+n) ,其中 n是生成句子的长度或深度限制 ,r是给定上下文无关文法中产生式的数目 .同时 ,给出了适应不同需要的句子生成策略 . In this paper, a method is presented to partition productions of CFG (context free grammar). It divides production set into two parts. The derivation with productions in one part will never terminate, while it must terminate rapidly with productions in the other part. It is proved that the procedure of generating sentences of CFL (context free language) is using productions in one part to make the sentential form longer and more complex first, and then using productions in the other part to terminate the procedure. A general controllable method is attained for generating sentences of CFL with restricted length or depth. The time and space complexity for generating one sentence is O(r+n) , where n is the restricted length or depth of sentences and r is the number of productions in given CFG. The generating strategies for different conditions are also discussed.
出处 《软件学报》 EI CSCD 北大核心 2000年第8期1030-1034,共5页 Journal of Software
基金 国家自然科学基金! (No.6 98730 42 ) 国家"九五"重点科技攻关项目基金! (No.96 - 72 9- 0 6 - 0 2 )资助
关键词 句子生成 上下无关语言 产生式集划分 随机法 CFG (context free grammar), production set, production set partition, sentence generation, sentence generating strategy.
  • 相关文献

参考文献4

  • 1Zhang Ruiling,博士学位论文,1999年
  • 2Dong Yunmei,Institute of Software,The Chinese Academy of Sciences,1998年
  • 3Dong Yunmei,Laboratory of Computer Science,Institute of Software,The Chinese Academy of Scie,1996年
  • 4Dong Yunmei,Laboratory of ComputerScience,Institute of Software,The Chinese Academy of Scien,1995年

同被引文献13

  • 1沈扬,陈海明.基于上下文依赖规则覆盖的句子生成[J].计算机工程与应用,2005,41(17):96-100. 被引量:3
  • 2石纯一.人工智能原理[M].北京:清华大学出版社,2000..
  • 3Roberto Basili,Maria Teresa Pazienza,Paola Velardi.A shallow syntactic analyzer to extract word association from corpora[J].Literary and linguistic compating, 1992; 7:114~ 124
  • 4Jean-Marie Balfourier,Philippe Blache,Tristan Van Rullen. From shallow to deep parsing using constraint satisfaction[C].In:Proceedings of the 19th International Conference on Computational Linguistics( COLING-2002 ), Taipei, 2002
  • 5Roberto Basili ,Fabio Massimo Zanzotto. Parsing Engineering and Empirical Robustness[J].Journal of Natural Language Engineering,2002;8(2-3) :97~120
  • 6T Nakazawa. An Extended LR Parser Algorithm for Grammars using Feature-Based Syntactic Categories[C].In:Proceedings of the 5th EACL Conference, Berlin, 1991: 69~74
  • 7Earley J.An efficient context-free parsing algorithm[J].Communications ACM, 1970;6(8) :94~102
  • 8Aho A V,Johnson S C.LR Parsing[J].Computing Surve,1974;6(2):99~124
  • 9Masaru Tomita. An efficient augmented context-free parsing algorithm[J].Computational Linguistics, 1987; 13(1-2) :31~46
  • 10Aho A V,Ullman J D.The Theory of Parsing,Translation,and Compiling[M].Prentice-Hall,Englewood Cliffs,New Jersey,1972

引证文献3

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部