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

基于图算法的二元组合文法分析
引用本文:张玉艳,杨潇,黄国栋,侯金奎.基于图算法的二元组合文法分析[J].计算机应用,2008,28(7):1668-1671.
作者姓名:张玉艳  杨潇  黄国栋  侯金奎
作者单位:潍坊学院 山东大学 山东大学 山东大学计算机科学与技术学院
摘    要:为解决二元组合文法(BCG)的算符优先计算分析中不能共享分析树空间的问题,并降低分析算法的空间花费以提高分析效率,提出了一种基于图算法的BCG分析方法。该方法以表格方式存储分析过程中产生的所有边,分析完成后根据边的跨度构造分析树,从而使边不再局限于某一特定分析树中,再根据BCG文法的特性实现分析过程中的剪枝。实验结果表明,该方法在花费的时间、产生边的数量和最终结果树的数量上都明显低于传统的图算法和基于算符优先的算法。

关 键 词:图分析算法  二元组合文法  句法分析  自然语言处理  
收稿时间:2008-01-14
修稿时间:2008-03-07

Chart algorithm-based binary combinatorial grammar parsing
ZHANG Yu-yan,YANG Xiao,HUANG Guo-dong,HOU Jin-kui.Chart algorithm-based binary combinatorial grammar parsing[J].journal of Computer Applications,2008,28(7):1668-1671.
Authors:ZHANG Yu-yan  YANG Xiao  HUANG Guo-dong  HOU Jin-kui
Affiliation:ZHANG Yu-yan1,YANG Xiao2,HUANG Guo-dong3,HOU Jin-kui2(1.School of Computer , Communication Engineering,Weifang University,Weifang Sh,ong 261061,China,2.School of Computer Science , Technology,Sh,ong University,Jinan Sh,ong 250101,3.Department of Computer Teaching , Research,Institute of Chemical Defense of PLA,Beijing 102205,)China)
Abstract:In order to resolve the share-space problem about parsing trees in operator-precedence based parsing of Binary Combinatorial Grammar (BCG), a chart algorithm based parsing approach was proposed to reduce the spent space and to improve the parsing efficiency. All edges produced during the parsing process were stored by a tabular structure. By tracing the table, parsing trees were constructed according to the span of edges, so that these edges were no longer restricted in a particular tree. Then, the pruning in parsing process was achieved according to the characteristics of BCG grammar. The experiment showed that all of the spent time, produced edges and result trees of this approach were less than those of traditional chart algorithm and operator-precedence based algorithm.
Keywords:chart algorithm  binary combinatorial grammar  grammar parsing  natural language processing
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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