the Andrew Bailey

Here's some more wisdom from Spruce:

The rash sands were gaining first gruff stamp.

Open bluffs will have shoped also, or an alert week will have convoluted frolicsome polish.

Savage operation has languished outward if livid tramps have shimmyed.

Meddlesome boy had sung.

An urbane ground will be catching nonetheless.

The absolute expansions will be geting deliberate.

Low squares are falling.


Spruce is a random sentence generator written in Python. It has found a home on this server, and likes it here.

It was one of those late-night epiphanies, you see. It was during the three week summer break of 2008, and everyone had left the apartment to go home. It was just me and my machines having a good time.

A passing thought wandered by: Write a book on programming. Then I wondered, if I did, what kind of examples would I put in it. I began thinking away. Being pretty good at English (and having absolutely adored the English course the previous quarter), I realized that parts of speech could map easily to an object-oriented paradigm. "Make a random sentence generator," I thought.

Being past 4am, low on sleep, and not having seen a soul in a few days, I thought it was the best thing ever. Thought about how funny it would be. After a day or two, it started forming complete sentences. "Lesiure is a limp spruce" was one of the first sentences generated. Being of a relaxed mind at the time, it caught my attention: it just named itself.

It was entered at my college's coding contest the next quarter. It didn't get me any prizes, but it intrigued many people. I eventually got it working with the Windows speech API... creepy.

When I started coding this blog, I got a second epiphany: stuff Spruce into Jython, put it on my blog, and have a sentence spit out on every request. Then when I made my RSS library, I made an RSS feed for Spruce.

So here you are.