Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acrostic explosion #87

Open
WhistleOfTroy opened this issue Nov 25, 2018 · 2 comments
Open

Acrostic explosion #87

WhistleOfTroy opened this issue Nov 25, 2018 · 2 comments

Comments

@WhistleOfTroy
Copy link

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

 Nonsense outcome visit evenly leasing.

Then this sentence turns to

Nonsense overseer nod suddenly electricity nervously specs endangered.
Outsized ultimatum trap courageously outcome monthly embroidery.
Visit inert spies inflate tensely.
Especially volcano embryo nail long-held youngster.
Lovingly epilepsy adventurously seizure inform nail grande.

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

@jimkang
Copy link

jimkang commented Nov 30, 2018

There's a sort of incidental rhythm to it. I mentally heard the RZA saying the words!

@jeffbinder
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants