计算机科学 > 计算与语言
[提交于 2000年8月22日]
标题:Compact non-left-recursive grammars using the selective left-corner transform and factoring
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The left-corner transform removes left-recursion from (probabilistic) context-free grammars and unification grammars, permitting simple top-down parsing techniques to be used. Unfortunately the grammars produced by the standard left-corner transform are usually much larger than the original. The selective left-corner transform described in this paper produces a transformed grammar which simulates left-corner recognition of a user-specified set of the original productions, and top-down recognition of the others. Combined with two factorizations, it produces non-left-recursive grammars that are not much larger than the original.
提交历史
来自:Brian Roark[v1] 2000年8月22日 星期二 15:16:22 UTC