Coder Social home page Coder Social logo

megahal's Introduction

NOTE: I found a user who took my work and made it into a much better plugin. It's available at:

https://github.com/waratte/supybot/tree/master/Cobe

I highly suggest you use his. Mine will remain up here as archived code only. Do not expect updates.

Supybot-MegaHAL

Supybot plugin to make your bot talk. Think A.L.I.C.E. or MegaHal.

Warning/Disclaimer

I must warn you that with any plugin which makes a bot talk, you run a serious risk
of having the bot banned. Some people go *nuts* when bots talk not on command and
will ban/perm you and your bot. By default, I have the config registry variables
set to not talk very much, which can be changed. So, please, make sure that
you set each individual channel to be respectful of those who own it. Keep
the probability at 0 if you want the bot to never respond. Consider the code
in testing since something like this will always encounter bugs.

Description

What bot is complete without some type of plugin to make it talk?

Instructions

You need cobe: pip install cobe

Description of cobe: http://teichman.org/blog/2011/02/cobe.html

After running my tests with 10+ channels for 1 week, my corpus is about 18Mb. I've not implemented
a way to labotomize it just yet. I will have to see how it performs when the corpus hits 100MB+

After that, the requirements are satisfied and this should work fine on Python 2.7+

I suggest you check out the channel config variables to tweak things like probability and delay.

Inspiration/notes:

* http://madcow.googlecode.com/svn-history/r1271/trunk/madcow/modules/megahal.py
* http://gozerplugs.googlecode.com/hg-history/03ccbb46d89f95705e47699281053200c3aaee67/megahal.py
* https://github.com/pteichman/kibot-modules/blob/master/kibot/modules/cobe.py
* https://github.com/Spacexplosion/Quaking-Mad-Cow/blob/9c22130ebfdc663666e495df8f81f61bb5fac24a/madcow/modules/megahal.py
* https://github.com/gsf/supybot-plugins/blob/1ccef4a72411bd14fb3115c520de1c002be8cbce/Supybot-plugins-20060723/Markov/plugin.py
* https://github.com/bdrewery/PyBorg/blob/master/lib/pyborg/pyborg.py
* https://github.com/Trixarian/Alia/blob/master/pyborg.py
* http://git.jamessan.com/?p=Supybot/Markov.git

megahal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cloudxtreme

megahal's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.