Pattern selector grammars and several parsing algorithms in the context-free style

作者:

Highlights:

摘要

Pattern selector grammars are defined in general. We concentrate on the study of special grammars, the pattern selectors of which contain precisely κ “one”s (0∗(10∗)κ) or κ adjacent “one”s (0∗1κ0∗). This means that precisely κ symbols (resp. κ adjacent symbols) in each sentential form are rewritten. The main results concern parsing algorithms and the complexity of the membership problem. We first obtain a polynomial bound on the shortest derivation and hence an NP time bound for parsing. In the case κ = 2, we generalize the well-known context-free dynamic programming type algorithms, which run in polynomial time. It is shown that the generated languages, for κ = 2, are log-space reducible to the context-free languages. The membership problem is thus solvable in log2 space.

论文关键词:

论文评审过程:Received 30 March 1982, Accepted 5 March 1985, Available online 2 December 2003.

论文官网地址:https://doi.org/10.1016/0022-0000(85)90046-7