Chomsky Grammers for Natural Languages

Hey diddle, diddle

The cat and the fiddle

The cow jumped over the moon

The little dog laughed

To see such sport

And the dish ran away with the spoon !

A Child's Nursery Rhyme

_______________________________________________________________________

Here is a very simple grammar for a bit of the English.

sentence: MATH

noun phrase: MATH MATH

verb phrase:MATH

verb:MATHreads $\QTR{Large}{|}$ hits$\QTR{Large}{|}$ eats

article:MATH a $\QTR{Large}{|}$ the

noun:MATHboy$\QTR{Large}{|}$ book $\QTR{Large}{|}$ dog

Recognizing a sentence

Example : the boy reads a book

MATH

MATHthe boyMATH

MATHthe boyMATH

MATHthe boy$\QTR{Large}{\ }$reads MATH

MATHthe boy$\QTR{Large}{\ }$reads a book

OF COURSE

 

the book reads a boy

 

IS ALSO GOOD "ENGLISH"!!