I thought that the code required to construct a very static output message just with a few random words was a little easy, so I interpreted it a little more generally. I wanted to try and construct something more random than this, but I did run into problems. I’d say that the project took about four hours, but I spent a fair amount of time trying to track down lists of words. My project can be found here: https://github.com/tomharrison920/Random_message_generator
I edited a list of Chinese Proverbs to prep them to receive random words in place of some verbs, nouns, adjectives, numbers and time-periods (months, years etc) and I also put together a few insults in the style of my favourites from Monty Python. I also tried to access premade lists of verbs, nouns and adjectives to try and make the program more generalised.
I think generally it has worked ok, but I did run into some grammatical problems due to the different way tenses etc are handled in English. Generally the messages that are output make sense (and are often very funny), but if the wrong combination of words and sentence is put together, it comes out a bit like gobbledygook.
I would be interested to hear if anyone has any suggestions about: how I could have included a bigger dictionary of words; and a tidier way to deal with some of the grammatical exceptions I ran into.