Open WhistleOfTroy opened 6 years ago
There's a sort of incidental rhythm to it. I mentally heard the RZA saying the words!
Interesting idea. A complement to this would be an acrostic _im_plosion—that is, a program that takes in one of the iterations of the output and tries to reconstruct the initial word from which it stemmed. It would be a non-trivial task because, once you get to the level of whole lines, the formatting gives no clues as to where the word boundaries are. Depending on the vocabulary, there could be multiple solutions. If you have lines with initial characters "B U I L D A T R E E H O U S E," for instance, you would get "bat" if you treat "T R E E H O U S E" as one word but "bath" if you treat it as two. The realm of acrostics is a garden of forking paths.
An acrostic is a poem (or other form of writing) in which the first letter (or syllable, or word) of each line (or paragraph, or other recurring feature in the text) spells out a word, message or the alphabet.
How this novel is written: you input a message. Each word from that message is turned into a sentence where each word starts with the initial words letters. Like the word novel turns to something like
Then this sentence turns to
And it just goes on expanding like this for 50 000 words. Words list is taken from corpora mostly.
Messy source code Sample with a bit more than 50k words The actual novel generator