NaNoGenMo / 2019

National Novel Generation Month, 2019 edition.
97 stars 5 forks source link

SkipSplice and Prejudice, a #NNNGM #114

Open railsagainstignorance opened 4 years ago

railsagainstignorance commented 4 years ago

Hi, inspired by the Wired article, https://www.wired.com/story/nanogenmo-ai-novels-gpt2/, which mentioned Nick Montfort's blog post, https://nickm.com/post/2019/11/nano-nanogenmo-or-nnngm/, which mentioned your NaNoGenMo initiative, here is a stab at #NNNGM (Nano-NaNoGenMo).

The generated novel is https://raw.githubusercontent.com/railsagainstignorance/nano-nanogenmo/master/spliceSkip_PrideAndPejudice.txt

The code which generated it is https://github.com/railsagainstignorance/nano-nanogenmo/blob/master/invokeSpliceSkip.sh. An overview of the algorithm is in the script comments.

It's all in the repo, https://github.com/railsagainstignorance/nano-nanogenmo

Although the basic algorithm is quite simple, far too much effort went into minifying the perl script to satisfy the 256 char restriction. Masochism FTW!

railsagainstignorance commented 4 years ago

Here is a sample of the output. The punctuation goes a bit askew, but the words often hold together.

It is a truth is so well to neglect such a good joke, too apt, . You never see a fault in anybody and everybody here is of course, she will not think about officers.—Yours ever, “, Caroline, I should think it more than half-a-dozen, in your idea of music, singing, drawing, dancing when she is ill.” “That will not you, Darcy?” “My style of humility. It is often only carelessness of execution, which, if not assume the character of needlessly long enough. She -attracted by the restrain the wild giddiness of the evil. Elizabeth , had been always affronted by . Their engagements at Rosings, the frequent means so faulty. But if otherwise—if regard for her. Though our sister, we shall exactly the man who, in disposition and temper, though unlike. You are each of you; and so generous and forgiving heart, your own conscience, must tell , you are mistaken my characters suffered .

It is acknowledged, that a single man may be on his first tumult of joy?” “That is exactly the question, with some surprised, but agreed to it, observing that he could imagine that I amuse myself with suggesting , and he listened to take his guest into the ladies. Mr. . Collins, much offended, laid out, and to the cultivation of his most distant clump. But of all the credit. When Mr. Collins could be sooner saw much to be pleased with Kent?” A short dialogue , on either side calm and concise— and her sister does as well , for I have not wish to , because if it were to the lady.” “And what arts did he used towards everyone, had hardly received on the first perusal of this letter must occasion, should not think it unreasonable . For about three years I heard little doubt, as he was in proportion to the distressing. I am sure you must not make himself. the real state of her sister’. She still cherished affection for Bingley. Having never even as a common flirt than pathetic. Kitty was the only one ceaseless source of pleasure realised. .

nickmontfort commented 4 years ago

Excellent ... and also very stylish to trim the frontmatter and start at the first (well-known) sentence!