NaPoGenMo / NaPoGenMo2015

National Poetry Generation Month 2015
14 stars 3 forks source link

Acrostic generator #12

Open enkiv2 opened 8 years ago

enkiv2 commented 8 years ago

https://github.com/enkiv2/NaPoGenMo2015/blob/master/acrostic.sh

The only interesting thing about this acrostic generator is that you can supply arbitrary source corpora, which can produce interesting 'themed' results.

For instance:

john@vonneumann ~/code/NaPoGenMo2015 (1)$ git:(master) 1A shuf -n 1 < /usr/share/dict/word.lst| ./acrostic.sh ~/stories/ebooks/amazing-stories/ (f) orth in this agreement, you must obtain permission in writing from (o) pposite us, seated on the bottom of the pool, was a human figure, nude (L) ee Wong bowed low again, motioning Asher to go ahead. "Now you shall (l) eaden, steel-tipped pellet had punctured the double surface of his (e) yes. They were wide with despair. (S) he turned then to Jerry. And now it was Marahna, Princess of the john@vonneumann ~/code/NaPoGenMo2015 (1)$ git:(master) 1A shuf -n 1 < /usr/share/dict/word.lst| ./acrostic.sh ~/stories/ebooks/amazing-stories/ (r) aised platform. And what happened next happened so swiftly that Nat (O) ur motor was running smoothly and the angle of the propeller blades had (a) t the aircars on either side of him, then issued his commands. (r) ealization held the two as they stared up at it. (y) ou can tell me all about it. I'm going to get him good for this, you john@vonneumann ~/code/NaPoGenMo2015 (1)$ git:(master) 1A shuf -n 1 < /usr/share/dict/word.lst| ./acrostic.sh ~/stories/ebooks/amazing-stories/* (T) he cat that had been hit by the phantom was a light sedan. It was (h) is own restraining hand, and he watched in mystified silence while the (u) s; and beyond the brink of the ledge the thousands of feet down to (n) ow become a tiny submarine, started a narrow tube of black, oddly like (d) amn place? (e) xcitingly, with all the human interest that goes to make any story (R) ibiera had given orders he was to be admitted, night or day. When the (b) efore.... The arrival of the plane had been telephoned from Cape (o) n shore a quarter of a mile away, keeping out of sight, and hid the (l) aw of the state applicable to this agreement, the agreement shall be (T) he total number of the Spokesmen, the oldest of earth's inhabitants, john@vonneumann ~/code/NaPoGenMo2015 (1)$ git:(master) 1A