Re: OT: THEORY Fusion Grammar
From: | Gary Shannon <fiziwig@...> |
Date: | Saturday, July 15, 2006, 22:26 |
--- Hanuman Zhang <zhang@...> wrote:
> :-S O_o???
>
> I am like totally lost in this. What are the
> morphosyntactical boundaries -
> if any...
>
> ... and how does a "context-free" language freaking
> work?
> Is this like Lisu, a seemingly free-order isolating
> language?
A language is context free if every sentence of the
language can be generated by repeated application of a
set of replacement rules, called "the grammar" that
can be used in any context. For example:
Here is a context free grammar. It can be used to
generate a number of sentences. The set of all
sentences that it can generate constitutes the entire
language.
1. S -> DN V
2. DN -> the NN
3. DN -> the N
4. NN -> ADJ N
5. ADJ -> little
6. ADJ -> happy
7. N -> girl
8. N -> boy
9. V -> ran
10. V -> played
11. V -> is VING
12. VING -> running
13. VING -> laughing
14. VING -> jumping
Starting with S, apply rule 1 giving: DN V.
Apply rule 11 giving: DN is VING.
Apply rule 2 giving: The NN is VING.
Apply rule 4 giving: The ADJ N is VING.
Apply rule 5 giving: The happy N is VING.
Apply rule 8 giving The happy boy is VING.
Apply rule 14 giving The happy boy is jumping.
No more rules apply so the sentence generation is
complete, and has created, by definition, a sentence
in the language defined by that grammar.
--gary