[Navigation Bar]  
 
 

    

[OpenSUSE powered]
[BUSH powered]
[vi powered]
[XML] [RSS]

Annual Summer Programming Challenge

 

2002 Summer Challenge: Poetry Generators

The following is the list of entries by members in our Summer Linux Programming Challenge to write Poetry Generating Programs. Right-click to download them.

  • Ken Burtch (BUSH Business Shell)

    Writes poems by replacing words in a template with random words.

    Creating word lists and counting items...
    
    Poetry Generator
    
    This script takes an outline of a story or a poem
    and inserts random words for numbers.
    
    Type in a story or poem.  End with a blank line.
    Mark words to substitute with a number:
     1 = noun ( 56)
     2 = verb ( 41)
     3 = adverb ( 10)
     4 = adjective ( 34)
     5 = preposition ( 15)
     6 = conjunction ( 5)
    
    1s are 4 and 1s are 4;
    The 1s 2 3 4 6 you are so 4.
    
    
    unicorns are snarky and nights are pretty;
    The dawns pooled never yellow thus you are so red.
    
    Another poem? (y/n)
    y
    
    horses are naughty and noses are bright;
    The evenings danced quite glistening or you are so pleasant.
    
    Another poem? (y/n)
    n
    Bye
    
     
  • Chris Browne (Lisp)
    Writes poems based on the analysis of a particular style.
     
    #START
    The Salivators
    
    Sheep like humanity, howling as wolves.
    To evil deferring, destroying the good.
    
    As foulmouthed cowards, wasting their breath
    Flashing fools fashions, ignoring the threat,
    
    Of a flash that will fashion . . .
    Humanity's death.
    
     
  • Mel Wilson (Python)
    Writes poems using Markov chains.
 
     

« Truth Humility Communication Nobility Freedom Purity Excellence Right Support Courage Compassion Quality Honesty Trust Cooperation Challenge Education »
PegaSoft Canada - A Linux Association Since 1994