Improved normal form for grammars with one-sided contexts

4Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Formal grammars equipped with operators for specifying the form of the context of a substring were recently studied by Barash and Okhotin ("Defining contexts in context-free grammars", LATA 2012), further extending the author's ("Conjunctive grammars", DCAGRS 2000) earlier work on propositional connectives in grammars. These grammars allow two types of context specifications: for a substring w of a string uwv, a left context operator ◁D states that u is of the form described by D, while the extended left context operator ⊴E states that uw is described by E. This paper establishes a normal form for these grammars, in which extended left contexts are never used, while left contexts may be applied only for individual symbols, so that all rules are of the form A → B1C1 &⋯& BnCn or A → a & ◁D. This eliminates circular dependencies in the grammar and allows simplifying the known parsing algorithm. Some further improvements to the algorithm accelerate it from time O(n3) to time O(n3/log n). © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Okhotin, A. (2013). Improved normal form for grammars with one-sided contexts. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8031 LNCS, pp. 205–216). https://doi.org/10.1007/978-3-642-39310-5_20

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free