A Markov text generator that learns from the Twitter streaming API
twitter.com
twitter.com
http://www.in-vacua.com/markov_text.html
With some code:
http://uswaretech.com/blog/2009/06/pseudo-random-text-markov...
I wonder if the code is available anywhere? I'd love to experiment with it myself and see if I can improve on it some.
Edit: I found the code: http://github.com/OEP/markov
I pointed out a bot that I run there: http://twitter.com/twatterhose
Here's the code: http://github.com/avar/bot-twatterhose
And the Markov engine powering it: http://hailo.github.com/
...on Identica, seeded with Identica messages it sees:
...and on the web, seeded by content from an IRC channel:
As the about page says, "X11R5 is an insane geek on Identica, X11R5 is an insane 12-year-old on Twitter."
It's pretty slow (tail call optimization in Ruby would be nice), but what it spits out tends to be pretty funny.
Bonus tie-ins to HN topics:
Rob Pike was one of the perpetrators (an author of the Go language)
It was featured in Martin Gardner's Mathematical Games column in Scientific American
(yeah, I wrote one too, after reading the article. I think it's catnip to hackers, like the Game of Life)
Are we just playing around in how to program Markov text generation? Because who cares; they figured that out ages ago.