Joey Hess: dadagoogoo
The Google books ngram datasets
are a nice resource for playing with text generation. I've created
a program that will, given a starting phrase, blather on by
connecting phrases from the datasets.
The results are much more varied, and seem to more often
make sense than most Markov text generators I've seen before, such as
dadadodo. It had better be -- it's
working with data derived from 4% of all books ever written!
Some examples. Do they tell a story?
(The starting phrase I entered is in italics.)
- He is assailed they merge
- To be or not to be so deceived ! She denies abdominal scanning
- Beauty with enormous strides . The hospital was under the control of the communal organization of solitary mammals . In other words the mere failure of an individual .
- Time passes . It is the child's first day in town and at his own level ?
- Time above his left shirt pocket for safe keeping . At first I accepted the old man's work . He settled in that part of Paris .
- Until then no ill Accident would generate hydrogen sulfide
- Random nonsense put together huge boxes with ammunition against it itself stops . Working things out afterwards
- A change in voice and piano . He sat down at last at No . 5 in connection with another or with others ; and that by some strange disaster .
- O God ! What is the condition of morality is that they all hold hands in a chain of propositions . These propositions are the primary bearers of meaning making and the rearing of children
- Worst Case Scenarios in Search of Reality : The ERA and emendation . I can never recover . She became thoughtful . He looked at me gloomily above the tree tops . The women were asked how they used to behave more competitively . Forecasts should be made
This was accomplished using only 99 lines of code. I imported the datasets into Xapian databases using this program. And this program is the text generator. I threw out the metadata, to keep the Xapian databases of reasonable size. By which I mean, only a dozen gigabytes. It might be interesting to include the publication year data in Xapian, so that it could prefer ngrams that were published around the same time as the input text. I'm still importing data. I may put up a web interface later if there's interest. PS:
- What about Spam ? Who caused it ? You have said it so loud that the little lady in a black storm .
- What about Spam ? I think it cannot be any . The Church had the right men . They are our friends and relations who could be depended upon with regard to the UN . Some people paint the portraits of the writers .
- Joey Hess was not the real author of these lines .
We had another meeting of the
This has been bugging me ever since we got our Sony Internet TV, and I think
I've finally figured out what's going on.
Pandora hasn't been working on the Google TV ever since we got it, it just
spits out Unexpected HTTP error occurred code: 417 while
StartupAsyncTask and that's the end of that. I have vague
recollections seeing this on my phone in the past also, but this doesn't
appear to be the case any longer. My phone has version 1.5.2 on it, and the
TV has 1.0, so I think I see the problem here.
I took a full packet capture while starting up Pandora, and it was a lot
more revealing. I could see that it was my Squid proxy (I transparently run
all HTTP traffic through Squid) was barfing. That'd explain the errors I was
seeing in Squid's cache.log
So, I've been working on multitouch on and off the past few months (which
have included a solid ten weeks of holiday), but have finally posted the
This guy is very known by people who use to walk around the 
In the last years, I have seen many people try to use
Recently gcc (4.5) improved its ability to see the size of various structures. As a result, the
I've recently spent five days debugging a problem in
It's been a while since I started working on this project and even longer