CHATBOT: Programming a chatbot with Perl

倾然丶 夕夏残阳落幕 提交于 2019-12-09 23:58:10

问题


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 programming chatbot in Perl language?

Thank you!


回答1:


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.




回答2:


You can use Chatbot::Eliza and RiveScript for inspiration.




回答3:


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.



来源:https://stackoverflow.com/questions/4271037/chatbot-programming-a-chatbot-with-perl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!