我正在研究Perl语言 . 我认为编写聊天机器人将是一种学习语言和学习它的有趣方式 .
我感兴趣的description of the chatbot可以找到here .
有没有人知道任何手册或网站特别专注于用Perl语言编程聊天机器人?
谢谢!
我正在研究Perl语言 . 我认为编写聊天机器人将是一种学习语言和学习它的有趣方式 .
我感兴趣的description of the chatbot可以找到here .
有没有人知道任何手册或网站特别专注于用Perl语言编程聊天机器人?
谢谢!
3 回答
见http://poe.perl.org/?POE_Cookbook - 这里描述了简单的机器人:http://poe.perl.org/?POE_Cookbook/IRC_Bots
Documentation for Bot::BasicBot,它是POE :: Component :: IRC的包装器 . http://www.drdobbs.com/web-development/184416221
Source of famous bot GumbyBrain,当然使用POE :: Component :: IRC和Megahal库 . Megahal库使用马尔可夫链来回复消息 .
不要使用Net :: IRC - 它不再受支持 .
您可以使用Chatbot::Eliza和RiveScript获取灵感 .
github上的Openclassifier是一个开源,有AI实现,但它在Java中 .
您仍然可以参考它来了解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. 您可以在以下链接中参考我的博客:
http://miracleclassifier.blogspot.com/2018/02/artificial-intelligent-chatbot-you-can.html
希望这可以帮助 .