arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1405.5598cs.FL
收藏

双边语境语法

Grammars with two-sided contexts

Mikhail Barash, Alexander Okhotin

摘要:

在最近的一篇论文中(M。Barash,A. Okhotin,“Defining contexts in上下文无关文法“,LATA 2012),作者介绍了上下文无关文法的扩展,其配备有用于引用被定义的子串的左上下文的运算符。本文提出了一个更通用的模型,其中上下文规范可以是双侧的,即左上下文和右上下文都可以由相应的运算符指定。本文给出了这类文法的定义并建立了其基本理论,给出了一个范式和一个时间复杂度为O(n^4)的语法分析算法,其中n是输入字符串的长度。

英文摘要:

In a recent paper (M. Barash, A. Okhotin, "Defining contexts in context-free grammars", LATA 2012), the authors introduced an extension of the context-free grammars equipped with an operator for referring to the left context of the substring being defined. This paper proposes a more general model, in which context specifications may be two-sided, that is, both the left and the right contexts can be specified by the corresponding operators. The paper gives the definitions and establishes the basic theory of such grammars, leading to a normal form and a parsing algorithm working in time O(n^4), where n is the length of the input string.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑