No such thing as a small change | |
PerlMonks |
Re: Re: (nrd) Cool Uses For Perl? AIM-BOTS!by AssFace (Pilgrim) |
on Mar 11, 2003 at 17:04 UTC ( [id://242083]=note: print w/replies, xml ) | Need Help?? |
Have you thought of using a markov matrix type setup for text generation of your bots response?
I see that you have one that responds back with random lines out of a file - but it seems to me if you had one that actually learned from "real life" text and then spat that back at a person, that would be a lot cooler. Although I suspect "a lot cooler" is in the eye of the beholder. I have already posted my Radiohead song generator, and in the past I have written a Poe generator (just need to scrouge through my backup cds to see where that code went to - I could easily enough just use the Radiohead code as long as I made up the Poe XML correctly). Poe is easy/fun to make as a generator because via Project Gutenberg you can get all of his works as well as his personal writings that are available. Becuase so much text is available to train on - his generator will output better reading text than the radiohead one which has less text to learn on. Obviously the same could be made of pretty much anything else (Willy The Shake - or even do as I have done and point it to scan the web, or chat boards - or for real fun, the newsgroups). I'm pretty busy at work right now - but sometime later (maybe tonight?) I will try to look at your code for the bots and see if I can easily write a quick port over to a Markov Matrix type bot.
In Section
Cool Uses for Perl
|
|