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

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


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

      We begin with the general concept of a string‐rewriting grammar, which provides the setting in which the Chomsky hierarchy can be formulated.

       5.2.1 Unrestricted Rewriting Grammars

where
is any non‐empty string of nonterminal and terminal symbols, and
is any (possibly empty) string of nonterminal and terminal symbols. A rewrite rule
says that from any string
that contains
, we can derive a new string that is like
but has
replaced with
. We say that a rewriting grammar generates a string
if
can be derived from the grammar's start symbol via a sequence of steps using the grammar's rewrite rules, and
contains only terminal symbols.

, and the set of terminal symbols is {a}. The empty string is written as
.

that we choose, the grammar in Figure 5.1 generates
if and only if the length of
is a power of two and no symbol other than a occurs in
. For convenience we sometimes say, using “generate” in a subtly different sense, that the grammar generates the set of strings that satisfy these conditions. A set of strings is sometimes called a “stringset”.9 Thus the grammar in Figure 5.1 generates the stringset
.

c05f001

       5.2.2 Restrictions on Grammars

      There are (at least) two reasons why we might question the usefulness of unrestricted rewriting grammars in our theories of natural language.

      An obvious one, perhaps, is that since they can carry out any computational procedure at all, adopting this class of grammars would not constitute a meaningful hypothesis about what is a possible human language. This is an objection on the grounds of the generative capacity of the formalism.


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