首页> 外文会议>Association for Computational Linguistics >Section 2: Removing Left Recursion from Context-Free Grammars
【24h】

Section 2: Removing Left Recursion from Context-Free Grammars

机译:第2节:从无背景语法中移除左递归

获取原文

摘要

A long-standing issue regarding algorithms that manipulate context-free grammars (CFGs) in a "top-down" left-to-right fashion is that left recursion can lead to nontermination. An algorithm is known that transforms any CFG into an equivalent non-left-recursive CFG, but the resulting grammars are often too large for practical use. We present a new method for removing left recursion from CFGs that is both theoretically superior to the standard algorithm, and produces very compact non-left-recursive CFGs in practice.
机译:有关操纵无内部语法(CFGS)的算法在“自上而下”的左右时尚的算法的长期问题是左递归可能导致不动脉。已知一种算法将任何CFG转换为等同的非左递归CFG,但是由此产生的语法通常太大而无法实际使用。我们提出了一种从理论上从理论上优于标准算法的CFG留下左递归的新方法,并在实践中产生非常紧凑的非左递归CFG。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号