2

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!

Community
  • 1
  • 1
Peterstone
  • 6,487
  • 14
  • 40
  • 49

3 Answers3

6

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.

Alexandr Ciornii
  • 7,296
  • 1
  • 24
  • 29
3

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

Sinan Ünür
  • 115,191
  • 15
  • 191
  • 333
DVK
  • 123,561
  • 31
  • 206
  • 320
1

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.

Maulik
  • 21
  • 2
  • This is a QA platform, so is expected you enter a question and receive answers. This seems not a question to me. Pleas clarify what are you asking for. – Skary Mar 10 '18 at 09:25
  • 1
    I replied to " Programming a chatbot with Perl". I didn't ask any question. I told that openclassifier can be referred. I am not asking anything. Thx. – Maulik Mar 10 '18 at 09:46
  • 1
    I apologize, i got a problem using UI and thought this was a question and not an answer. I will remove the downvote as soon as i can. – Skary Mar 10 '18 at 22:08