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

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


Скачать книгу
upper Q EndSet"/>, and will therefore be treated as intersubstitutable.

Second‐last symbol is not a Second‐last symbol is a
Last symbol is not a FORWARD SET: StartSet normal upper P EndSet FORWARD SET: StartSet normal upper P comma normal upper R EndSet
EXAMPLE STRINGS: open e, b, bb, abb EXAMPLE STRINGS: ab, aab, bab
Last symbol is a FORWARD SET: StartSet normal upper P comma normal upper Q EndSet FORWARD SET: StartSet normal upper P comma normal upper Q comma normal upper R EndSet
EXAMPLE STRINGS: a, ab, aba, bba EXAMPLE STRINGS: aa, aaa, baa
c05f006

      There is something natural about this idea: a grammar (or a mind) can only contain finitely many rules, and each rule specifies some allowable “use” for finitely many classes of expression, picked out by states or nonterminal symbols. Even if we somehow sliced up the space of all possible expressions into infinitely many equivalence classes, any finite grammar would not contain enough rules to define uses for all of those classes.

      A Type 2 or context‐free grammar (CFG) allows the right‐hand side of a rule to be any mixture of nonterminal and terminal symbols. A classic example, which generates the sans-serif-italic a Superscript n Baseline sans-serif-italic b Superscript n (for n greater-than-or-equal-to 1) stringset, is shown in (2). A derivation using this grammar is in (3).

      1 (2) start symbol: SSaSbSab

      2 (3)SaSbaaSbbaaaSbbbaaaaSbbbbaaaaabbbbb

      It is helpful to consider exactly how this CFG manages to do what no FSG can. What made this pattern impossible for an FSG is that the endless collection of prefixes a, aa, aaa, etc. cannot all be “kept separate” by a function that maps each prefix to a subset of a finite number of states. But a CFG still has only a finite number of rules, which specify the behaviour of a finite number of nonterminal symbols; one way or another, a CFG must boil down to a collection of rules that specify finitely many ways in which subexpressions of finitely many different classes can be combined. How can this finiteness be reconciled with the fact that a CFG can generate the sans-serif-italic a Superscript n Baseline sans-serif-italic b Superscript n pattern?


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