A Companion to Chomsky. Группа авторов

A Companion to Chomsky - Группа авторов


Скачать книгу
an immediate constituent analysis for the generated string. For example, there is no natural way to assign such a tree structure to the string aaaa on the basis of the derivation shown in Figure 5.1. This is roughly because the grammar contains rules that do not simply replace a single symbol with a string (Chomsky and Miller, 1963, p. 294).

      The classes of rewriting grammars investigated in Chomsky 1959 are therefore motivated by the interest in “devices with more generative capacity than finite automata but that are more structured (and, presumably, have less generative capacity) than arbitrary Turing machines” (Chomsky, 1963, p. 360), the idea being that “the intermediate systems are those that assign a phrase structure description to the resulting sentence” (Chomsky, 1959, p. 139). A sequence of three increasingly strict restrictions on rewriting grammars (Chomsky, 1959, p. 142) produces a hierarchy of classes of grammars, the broadest of which corresponds to Turing machines and the narrowest of which corresponds to finite‐state automata.

Restriction Required form of rules
Restriction 1, “context‐sensitive” phi upper A psi right-arrow phi omega psi where omega is a non‐empty string
Restriction 2, “context‐free” upper A right-arrow omega where omega is a non‐empty string
Restriction 3, “finite‐state” upper A right-arrow x or upper A right-arrow x upper B where x is a terminal symbol
and upper B is a nonterminal symbol

      1 The Type 0 grammars are simply all unrestricted rewriting grammars.The Type 1 grammars are those satisfying Restriction 1.The Type 2 grammars are those satisfying Restriction 2 (and therefore also Restriction 1).The Type 3 grammars are those satisfying Restriction 3 (and therefore also Restrictions 1 and 2).

      It turns out that all four classes of grammars are distinct in their generative capacity: at each boundary, there are stringsets that can be generated by a Type n grammar that cannot be generated by any Type left-parenthesis n plus 1 right-parenthesis grammar. So there are, for example, Type 0 grammars that generate stringsets that no Type 1 grammar can generate – even if the Type 0 grammar in Figure 5.1 is not one of them.

      A finite‐state automaton generates a string s if and only if there is a connected sequence of transitions leading from the start state to an accepting state,


Скачать книгу