a simple perl program to generate random sentences according to syntactic structures
by Marco Guardigli, 2007
mgua-at-tomware.it
mgua00-at-gmail.com
This simple programs allows definition of phrase structures and then generates random sentences.
to use it:
1.install perl interpreter, if not already there
2.launch $perl fraser.pl
fraser works on any operating system where perl runs
to increase the quality of the generated sentences, extend the lists included in the code
some generated phrases:
my cousin's dog was crying
a turtle was killed by the small yellow bird
Helen ran away
a big elephant was laughing