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

基于神经网络的GLR句法分析算法
引用本文:赵亚琴,周献中. 基于神经网络的GLR句法分析算法[J]. 计算机应用, 2005, 25(6): 1339-1341,1344
作者姓名:赵亚琴  周献中
作者单位:南京理工大学,自动化系,江苏,南京,210094;南京大学,工程管理学院,江苏,南京,210093
摘    要:提出并实现了一种基于神经网络的GLR(Generalized LR)句法分析算法,该算法结合神经网络自学习、自组织和并行分布处理等优点,以BP神经网络结构模型取代了GLR算法的分析表,模拟其移进和归约动作,通过计算网络输出来分析句法结构。该分析算法较好地解决了GLR算法对于存在多个移进归约冲突动作时,复制分析栈会使得动作表变得很大的缺点,实验结果表明,这种算法具有较好的泛化能力。

关 键 词:神经网络  GLR算法  句法分析  上下文无关文法
文章编号:1001-9081(2005)06-1339-03

Generalized LR syntactic analysis algorithm based on neural network
ZHAO Ya-qin,ZHOU Xian-zhong. Generalized LR syntactic analysis algorithm based on neural network[J]. Journal of Computer Applications, 2005, 25(6): 1339-1341,1344
Authors:ZHAO Ya-qin  ZHOU Xian-zhong
Affiliation:ZHAO Ya-qin 1,ZHOU Xian-zhong 21.Department of Automation,Nanjing University of Science & Technology,Nanjing Jiangsu 210094,China, 2.School of Management and Engineering,Nanjing University,Nanjing Jiangsu 210093,China)
Abstract:Syntactic analysis is one of important constituent parts in the field of natural language processing. An neural network-based Generalized LR(NNGLR) syntactic analysis algorithm was described in this paper. The algorithm unites GLR algorithm with neural network, and the shift-reduce parsing decision of GLR parser was simulated by a back-propagation neural network so as to improve its flexibility. Based on the techniques above, the algorithm solved the disadvantage of GLR that parsing table becomes large when there exists many shift-reduce conflicts. The experiment shows that the algorithm has good generalization.
Keywords:neural network  GLR algorithm  syntactic analysis  context-free grammar
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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