In this project, you will create a program capable of creating more complicated language than the Gossip project.
It contains six reporters that each report a random word from a list of words in that category.
simple sentence
that reports a simple sentence using the random determiner
, random noun
, and random verb
blocks.noun phrase
to create phrases like "near the little boy" or "over a wise pizza."
noun phrase
to define prepositional phrase
is a good example of abstraction. If you later change noun phrase
to include people's names, prepositional phrase
will still work.noun phrase
might generate "a tired pizza."complicated sentence
that combines a noun phrase, a verb phrase, and a prepositional phrase.
noun phrase
. So, instead of something like "my silly elephant," the program could sometimes use "Jamie" or other names.