Skip to content
/ megahal Public
forked from krmaxwell/megahal

This is a python port of the MegaHAL project (an eliza-like bot that utilizes a 4th-order Markov algorithm to learn from input it receives and generate random responses). Copied from https://code.google.com/p/halpy/

Notifications You must be signed in to change notification settings

Eboreg/megahal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install:

python setup.py build
sudo python setup.py install

To run:

megahal -h

As a lib:

from megahal import *
megahal = MegaHAL()
megahal.train('/path/to/some/file')
megahal.learn('some phrase')
print megahal.get_reply('hey, wazzap')
megahal.sync()  # flush any changes to disc
megahal.close()  # flush changes and close

About

This is a python port of the MegaHAL project (an eliza-like bot that utilizes a 4th-order Markov algorithm to learn from input it receives and generate random responses). Copied from https://code.google.com/p/halpy/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%