Language Generation

Sentences can be generated from a grammar by the following procedure:


< s> 
< np>  < vp> 
< art>  < noun>  < vp> 
the < noun>  < vp> 
the dog < vp> 
the dog < verb>  < np> 
the dog < verb>  < art>  < noun> 
the dog < verb>  the < noun> 
the dog bit the < noun> 
the dog bit the boy

Contents    Page-10    Prev    Next    Page+10    Index