Author of the word-famous Infinite Monkeys random poetry generator (formerly at google-code)
Download IM; in the Infinite Monkeys main directory there is a subdirectory called Source. The file that contains the parser is called script.bas, and the other major component to that is the dictionary.bas. Most of the executive functions are actually handled by the dictionary and the parser just sort of calls dictionary functions which basically perform rudimentary sorts for tagnames or verb types or other such niceties. The template aspect of IM was a glitzed up version of a dada generator that was made awhile back, early nineties I think. It allows for a little more refinement in the random aspect of the generator.
A couple areas I wanted to expand into, but it may be that you’re more qualified to take this route.. The stanford part of speech tagger.. If I can run text through that I could create a template without going through the effort of manually transcribing it. Also, I don’t know if you’ve heard of this: http://wordnet.princeton.edu/wordnet/. But at some point I’d like to create a generator with it. It’s probably the most elaborately conceived database out there.
No comments yet.