|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cool Uses For Perl? AIM-BOTS!
by jryan (Vicar) on Mar 11, 2003 at 06:34 UTC | |
AIM Bots don't have to be useless chatterbots - they can be useful as well. Check out my bot, ReminderBot, for something completely different. | [reply] |
by AssFace (Pilgrim) on Mar 11, 2003 at 17:07 UTC | |
my phone can do AIM - so perhaps I can use this as a replacement to my e-mail reminders... although likely pretty much similar. I had it setup for awhile that the code would look at a time table and based on where I likely was at that time, would send out an e-mail of reminders - so it might end up at a local account, my work account, or to my phone. I stopped using it because I don't tend to move around so much anymore and therefore it is easy enough to just use my work pc much of the time... that and I kind of like being removed a bit from it all time to time. | [reply] |
by jryan (Vicar) on Mar 11, 2003 at 20:55 UTC | |
| [reply] |
by Anonymous Monk on May 12, 2003 at 01:30 UTC | |
|
Re: (nrd) Cool Uses For Perl? AIM-BOTS!
by newrisedesigns (Curate) on Mar 11, 2003 at 13:31 UTC | |
mousey helps run wired bots, while batkins created milkbone, an all-Perl AIM client. theorbtwo has helped you before. He wrote perlmonkscb an AIM robot that works with the Perl Monks chatterbox. Me? Well, I just confuse people with my robots (as TStanley pointed out). You're preaching to the converted. Next time, do a search. ;) John J Reiser | [reply] |
by AssFace (Pilgrim) on Mar 11, 2003 at 17:04 UTC | |
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. | [reply] |
by AssFace (Pilgrim) on Mar 12, 2003 at 05:19 UTC | |
If you take this code (See code below) and add it to your bot - call the "grabMarkovPhrase" and it will return a string for you to return to the user talking to your bot. That way instead of just random text, it will return text that is more in the style of... well, whatever text that you train it on. (you could log all of the responses that users give your bots into a file, then you could train this bot against that file - that way it would talk back to them in a manner similar to the way they talk to it... that would likely degrade since there will be a lot of mimicry that it will learn on) The variables at the top control the minimum and maximum size of the string that it will return (counting "words" - really it just splits on a space and then looks to see how many array spots that creates). I just real quickly tore this code out of my radiohead song generator stuff and also created just a flat file of all of the radiohead text. There are a ton of things that could make this far better: Some examples of running this a few times: (See code below) Read more... (6 kB) | [reply] [d/l] |
by Sleepaholic88 (Novice) on Mar 22, 2003 at 00:44 UTC | |
| [reply] |
|
Re: Cool Uses For Perl? AIM-BOTS!
by TStanley (Canon) on Mar 11, 2003 at 01:30 UTC | |
TStanley -------- It is God's job to forgive Osama Bin Laden. It is our job to arrange the meeting -- General Norman Schwartzkopf | [reply] |