#!/usr/bin/env python import random import sys if len(sys.argv) < 2: print "Usage: "+argv[0]+" n\n\twhere n is number of sentences to generate." bad_adjective = [ \ "dishonest", "illegitimate", ] good_adjective = [ \ "honorable", "honest", "intelligent", "truthful", ] synonym_for_much = [ \ "ample", "considerable", "substantial", ] bad_verb = [ \ "spin", "deny", ] synonym_for_show = [ \ "demonstrate", "highlight", "present", "reveal", ] synonym_for_facts = [ \ "facts", "evidence", "reality", ] bad_noun = [ \ "gaffe", "nonsense", ] good_noun = [ \ "reading skills", "possession of the facts" "reason at work" ] proof_by_assertion = [ \ "I have SYNONYM_FOR_SHOWed SYNONYM_FOR_MUCH documentation of this fact.", "You maintain belief in the face of SYNONYM_FOR_MUCH directly contradictory FACTS.", "I truly would be interested in your response.", "Try answering my SYNONYM_FOR_MUCH points, please.", "A more SYNONYM_FOR_MUCH reading of this matter might SYNONYM_FOR_SHOW " + "that you have completely mischaracterized my response.", "The FACTS would SYNONYM_FOR_SHOW something far different.", "The only conclusion to be drawn is: QED.", "I've been quite forthright in stating the FACTS.", ] dismissive_noise = [ \ "This is BAD_ADJECTIVE, but not really GOOD_ADJECTIVE.", "Don't let that stop you from BAD_VERBing the BAD_NOUN.", "This just makes you look even more BAD_ADJECTIVE.", "Just don't pretend that anything you've written thus far qualifies.", "Evidently GOOD_NOUN is not much in evidence in this forum.", "This only SYNONYM_FOR_SHOWs your lack of GOOD_ADJECTIVE GOOD_NOUN, not mine.", "And this compares to what I said, how?", "But that would mean consulting the FACTS.", "Ah, the death of close reading skills.", "I thought you were among the few people on this thread capable of or interested " + "in SYNONYM_FOR_MUCH debate. What happened?", "Sorry, but that's a load of crap.", "If you can't address that when addressing me, then it's no wonder you " + "withdrew from the exchange.", "That is BAD_ADJECTIVE. Certainly it is not GOOD_NOUN.", ] random_snooty_expostulation = [ \ "Funny, that.", "Ah, well.", "Wow.", "Please.", "Read, people.", "What happened?", "And that's it? Huh.", "Think that over.", ] tacitus_sentence_forms = [ proof_by_assertion, dismissive_noise, random_snooty_expostulation, ] for i in range(0, int(sys.argv[1])): s = random.choice(random.choice(tacitus_sentence_forms)) s = s.replace('BAD_ADJECTIVE', random.choice(bad_adjective)) s = s.replace('GOOD_ADJECTIVE', random.choice(good_adjective)) s = s.replace('SYNONYM_FOR_MUCH', random.choice(synonym_for_much)) s = s.replace('BAD_VERB', random.choice(bad_verb)) s = s.replace('SYNONYM_FOR_SHOW', random.choice(synonym_for_show)) s = s.replace('FACTS', random.choice(synonym_for_facts)) s = s.replace('BAD_NOUN', random.choice(bad_noun)) s = s.replace('GOOD_NOUN', random.choice(good_noun)) print s