next up previous contents
Next: The Chomsky Hierarchy of Up: Formalisms Previous: Types of formalisms in

Formal Grammars

A basic goal for linguistic theory is to use the most restricted possible formalism. This conflicts with the computational need to have flexible formalisms in case one needs them. Whatever one's stand on this issue, grammar complexity is defined by constraints on types of strings; these constraints are the rules of formal grammars.

A formal grammar is generally described as a structure containing a vocabulary and a set of rules for defining strings on the basis of the vocabulary.

More precisely:

  1. A formal language tex2html_wrap_inline1420 is a set of strings of symbols from a vocabulary tex2html_wrap_inline1422. The set of all strings over this vocabulary of terminal symbols is denoted by tex2html_wrap_inline1424 (tex2html_wrap_inline1426 is the `Kleene star' or `iteration' operator).
  2. A formal grammar is a pair tex2html_wrap_inline1428, where V is a finite vocabulary of symbols with tex2html_wrap_inline1422 as a subset, and P is a finite set of rules of the general form tex2html_wrap_inline1436. The rules define rewriting operations or substitutions which determine the construction and derivation of strings from the vocabulary, in general an infinite number, The symbols in P which are not in tex2html_wrap_inline1422 belong to the set N of non-terminal symbols.

The general assumptions are made that tex2html_wrap_inline1444, and that tex2html_wrap_inline1446,

Formal grammars and languages are ordered with in a subset or implication relationship along a scale of restrictiveness:

Type 3 tex2html_wrap_inline1448 Type 2 tex2html_wrap_inline1448 Type 1 tex2html_wrap_inline1448 Type 0



Dafydd Gibbon
Fri Nov 28 02:24:58 MET 1997