Re: Universal grammar
- From: Helmut Richter <hhr-m@xxxxxx>
- Date: Thu, 19 Oct 2006 12:35:58 +0200
On Wed, 18 Oct 2006, Hans Aberg wrote:
The "Chomsky hierarchy" shows up as a classification of formal
mathematical grammars.
One should not overestimate the significance of that hierarchy, not even
for formal languages (of which I understand more than of natural
languages). Chomsky type 0 grammars are undecidable which limits their
usefulness, type 1 grammars (CS) are so large a subset of decidable
languages that more or less any decidable language of practical use may be
CS but with no sensible way to construct a CS grammar or to understand
what language a CS grammar will produce. Only type 2 languages (CF) have
two nice properties:
- If the language they describe happen to have a parenthesis structure
as is typical for CF languages, then a CF grammar reflecting this
structure is easy to read. This is why they are used to define
programming languages, and may be used to describe some aspects of
natural languages.
- For a small subset of them, nice parsing algorithms have been found.
This subset comprises the programming languages, if only because these
were defined in a way that this works (FORTRAN, the oldest of these, is
not deterministic, though).
Taking the Chomsky hierarchy as a measure for complexity is, however,
questionable (see my posting <70n9i7$j6h$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>).
The more general formal grammars are though
in practice not used so much in favor of so called context free grammars
(CFG) combined with context dependencies implemented using semantic
actions attached to the grammar rules.
In other words, these languages are *not* context free so that some
syntactic rules are disguised as "semantic". As an engineering approach,
this is in order (use CF for what they are good for, to wit the two items
above, and use something else for the rest) but it stresses that CF
grammars do not reflect the *entire* syntactic structure underlying the
language - be it an artificial or a natural one.
--
Helmut Richter
.
- Follow-Ups:
- Re: Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- References:
- Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- From: Peter T. Daniels
- Re: Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- From: Peter T. Daniels
- Re: Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- From: groups
- Re: Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- From: Helmut Richter
- Re: Universal grammar
- From: Hans Aberg
- Re: Universal grammar
- From: Peter T. Daniels
- Re: Universal grammar
- From: Hans Aberg
- Universal grammar
- Prev by Date: Re: Lexical differences between Spanish and Portuguese
- Next by Date: Re: Warter, warter everywhere
- Previous by thread: Re: Universal grammar
- Next by thread: Re: Universal grammar
- Index(es):
Relevant Pages
|