Random-tony generates chocolate flavours from a context-free grammar
One of my first experiments with natural language generation was writing random-tony, a program that could produce new chocolate flavours. The program uses a grammar as a model of a "valid" chocolate flavour. Here are some examples:
$ python ./generate_flavours.py
Read more...