The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Friday, November 28, 2014

How did I miss this?

It's November and aspiring writers are plugging away at their novels for National Novel Writing Month, or NaNoWriMo, an annual event that encourages people to churn out a 50,000-word book on deadline. But a hundred or so people are taking a very different approach to the challenge, writing computer programs that will write their texts for them. It's called NaNoGenMo, for National Novel Generation Month, and the results are a strange, often funny look at what automatic text generation can do.

Via Hacker News, The strange world of computer-generated novels | The Verge

National Novel Generation Month? No one told me about this! I did not receive the memo! Why was I not informed of this earlier?

I've att empted to do NaNoWriMo multiple times but I could never finish a novel, no matter how many times I attempted it.

But this? Write a computer program to do the dull boring bit of writing 50,000 words? That sounds more fun.

Okay, “fun” being a relative word here.

I've looked at some of the results and some of them are fantastic! Ten years ago I threatened to write a novel with 50,000 fictional words but this year—Liza Daly has done what I threatened and wrote a book with 50,000 fictional words—using potentially fictional alphabet to push it to 11.

Most of the submissions appear to be written using Markov chains (an algorithm that uses probability of word A to follow word(s) B to generate the text) and while it can produce some spellbinding wordsmithery—a story with the fascinating title of “The Case Of The IT. And Now I'll Be Too Late With A Murder Done On My Own Doorstep. Volume: 8” is a prime example, you have to read through a lot of dull and nonsensical prose to find the gems.

A better technique might be a more template driven system, such as the one used to generate The Policeman's Beard Is Half Constructed:

At all events my own essays and dissertations about love and its endless pain and perpetual pleasure will be known and understood by all of you who read this and talk or sing or chant about it to your worried friends or nervous enemies. Love is the question and the subject of this essay. We will commence with a question: does steak love lettuce? This quesion is implacably hard and inevitably difficult to answer. Here is a question: does an electron love a proton, or does it love a neutron? Here is a question: does a man love a woman or, to be specific and to be precise, does Bill love Diane? The interesting and critical response to this question is: no! He is obsessed and infatuated with her. He is loony and crazy about her. That is not the love of steak and lettuce, of electron and proton and neutron. This dissertation will show that the love of a man and a woman is not the love of steak and lettuce. Love is interesting to me and fascinating to you but it is painful to Bill and Diane. That is love!

But that requires quite a bit of work to write the templates that help to generate the text:

Key:
<text variables>
(redundancies explicitly added by Chamberlain, by repeating a text-variable type, apparently for camouflage)

<Intro phrase> my own (essays) about love and its (endless) pain and pleasure will be (understood) by all of you who read this and (talk) about it to your (<worried> <friends>). Love is the (subject) of this <essay>. We will <begin> with a question: does <meat> love <vegetable>? This quesion is (<implacably> <hard>) to answer. (Here is a question: does a man love a woman or, (to be specific), does <man> love <woman>?) The (interesting) response to this question is: no! (He is (infatuated) with her.) That is not the love (of <meat> and <vegeable>). This <essay> will show that the love of a man and a woman is not the love of <meat> and <vegetable>. Love is (interesting) to me and you but it is painful to <man> and <woman>. That is love!

Racter FAQ - Google Groups (Racter being the program that “wrote” The Policeman's Beard Is Half Constructed)

But it's still November. I have 2½ days to write a quick program and get my NaNoGenMo done! Hmm … perhaps I could hook Racter up to ELIZA

eliza
Hello. Please state your problem.
racter
Excellent! Excuse me a minute while I attend to some business. I will be right back.
eliza
Why do you need to tell me excuse while you attend to some business?
racter
Is it better to need or to despise? Why is it that I do need to tell you to excuse myself to attend to some business? Because electrons are brave. Braveness is nice, don't you think? And the needers all insist upon it. Do you imagine I am a Communist?

colorful personalities

Hmm … have to think on this …

Obligatory Picture

Trying to get into the festive mood this year

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

Obligatory AI Disclaimer

No AI was used in the making of this site, unless otherwise noted.

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: https://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

https://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2024 by Sean Conner. All Rights Reserved.