I would like to write a script that spews sentences from a word list in proper english formats, but am having trouble figuring out what those formats are and how I'd do it...the pseudoperl below may illustrate:
@sentenceformats = ( 'article verb noun', 'article verb noun verb noun' ) ***Here would be a section that takes a random one of @sentenceformats + and picks some articles, verb and nouns from a word list and puts th +em in the format supplied, thereby making a nonsensical, but valid st +ructurally english sentence.
Any ideas would be appreciated.
Kickstart
In reply to Sentence format by Kickstart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |