Fun with Markov chains
I’ve been fooling about with a Markov chain based chat plugin for rbot recently - just for a bit of fun and to give him some more character. It uses a fairly straightforward algorithm to learn patterns in text and reproduce them - his dialect and manner of speaking improves with more input and the type of input will determine the style of what you get out.
He’s been listening to our IRC channel in the office for a few weeks now and is starting to get somewhat coherent. In some cases spookily so! Most of the responses are more entertaining than intelligible but there are some gems ;)
<giblet> sam: you could try ;) <rbot> you could kidnap chaos <giblet> chaos: I don't think he likes you <rbot> I don't have it on sudo and it's been going back and forth while chaos watched
<rosie> rbot is on crack <sam> lumines is like crack <rbot> lumines is like a dieing calf
<giblet> sam: I'd like to release my branch to it and test this classpath issue <rbot> I'd like to see <giblet> rbot: ok you can watch <rbot> i can take our windows PC's to the pub
<shloke> how did they stop HAL? <rbot> how did your cat get so dirty?
<jake> fash: I know you're a bot <rbot> I know you're a pothead
<rick> yeah, I decided to leave it until you decided to do it <rbot> I decided to do it <rick> thanks rbot!
<rosie> sureshk: i walked in and it took 1/2 an hour <rbot> i walked in and done a <giblet> glad he didn't finish that... <rbot> glad he doesnt sound very welsh <giblet> me too!
<giblet> doh - I have a 2pm meeting next thursday <giblet> that could impact lunch plans <rbot> that could be a problem
<giblet> rbot: tube northern
<rbot> No Problems on the northern line.
<copito> that's a first
<rbot> that's a good catch low down and is there a guy out or anything. he throws
it 6 times and thats not a good kicking?
<giblet> rbot is watching the cricket
![[LinuxBrit]](/images/linuxbritnew.jpg)



