引用本文:朱胜火,周 明,刘 昕,黄昌宁.一种有效的概率上下文无关文法分析算法*.软件学报,1998,9(8):592-597
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4757次   下载 6001 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种有效的概率上下文无关文法分析算法*
朱胜火1, 周 明1, 刘 昕1, 黄昌宁1
清华大学计算机科学与技术系智能技术与系统国家重点实验室,北京,100084
摘要:
句法分析的研究是自然语言处理领域的一个重要组成部分.该文提出并实现了一种有效的概率上下文无关文法SCFG(stochastic context-free grammar)的分析算法.首先对原有的GLR分析表加以改造,以便能够利用分析过程的控制结构来计算有关的概率;然后对分析过程中的每个状态增设了下标,以区分不同的归约路径.通过上述手段,成功地引入了状态的前向(Forward)概率和内(Inner)概率.利用这两个概率可以计算输入句子的所有可能分析树的概率,用于选择最佳的分析结果.通过对大规模真实文本进行实
关键词:  SCFG(stochastic context-free grammar),分析算法,GLR算法,Earley算法,自然语言处理.
DOI:
分类号:
基金项目:本文研究得到国家自然科学基金和航天预研基金资助.
An Efficient Stochastic Context-Free Parsing Algorithm
ZHU Sheng-huo,ZHOU Ming,LIU Xin,HUANG Chang-ning
Abstract:
The research of parsing is important in the field of natural language processing. An efficient stochastic context-free parsing algorithm is described in this paper. In order to implement a stochastic context-free parser, the authors rebuild a GLR-algorithm-like parsing table so that derivation probabilities can be computed efficiently by making use of the parsing control structure, and add indices to each state in parsing period as identifiers of different parsing paths. Based on the techniques above, the forward and inner probabilities of states are introduced in this paper. With these two probabilities, the probabilities of all parsing trees of the input sentence can be computed to select an optimal parsing result. The experiment shows that the proposed algorithm is efficient.
Key words:  Stochastic context-free grammar, parsing algorithm, GLR algorithm, Earley algorithm, natural language processing.

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: