Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 372 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 372 Bytes

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