CHATBOT: Programming a chatbot with Perl
I'm studing Perl language. I think programming a chatbot would be a funny way of studing that language and learn it.
The description of the chatbot I am interested in can be found here.
Does anyone know any manual or website especially focused on pro开发者_如何学JAVAgramming chatbot in Perl language?
Thank you!
See http://poe.perl.org/?POE_Cookbook - simple bot is described here: http://poe.perl.org/?POE_Cookbook/IRC_Bots
Documentation for Bot::BasicBot, which is a wrapper around POE::Component::IRC. http://www.drdobbs.com/web-development/184416221
Source of famous bot GumbyBrain, which of course uses POE::Component::IRC and Megahal library. Megahal library uses Markov chains to reply to messages.
Don't use Net::IRC - it is not supported anymore.
You can use Chatbot::Eliza and RiveScript for inspiration.
Openclassifier on github is an opensource and has AI implementations, but its in Java though.
Still you can refer it to understand the implementations for chatbot. The reason I am referring this is, that it is a very simplified implementation, without any complex algorithms or datastructures.
You simply copypaste your data and the chatbot is operational with that knowledge. You can refer to my blog over this on below link:
http://miracleclassifier.blogspot.com/2018/02/artificial-intelligent-chatbot-you-can.html
Hope this helps.
精彩评论