-
Notifications
You must be signed in to change notification settings - Fork 0
enkiv2/lamemcmc
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
_ __ __ ____ __ __ ____
| | __ _ _ __ ___ ___| \/ |/ ___| \/ |/ ___|
| | / _` | '_ ` _ \ / _ \ |\/| | | | |\/| | |
| |__| (_| | | | | | | __/ | | | |___| | | | |___
|_____\__,_|_| |_| |_|\___|_| |_|\____|_| |_|\____|
The Lua markov bot!
This distribution contains:
mm.lua -- the guts: implementation of training, response generation & ranking
dumper.lua -- serializes lua tables
fe.lua -- frontend: everything with file i/o or irc-specific code
ircmode.sh -- connects to irc using epic/ircii
mm.db -- the serialized representation of the current training data
Notes:
ircmode.sh uses dot-files for temporary storage, as a pipe. These are of the
form .$$, where $$ is the PID of the instance of ircmode.sh. These contain the complete log of activity as output by epic in dumb mode. These could get very
large, and they are not deleted if you kill the bot with a control-c or some
other SIGINT/SIGKILL. So, if you are force-killing the bot frequently and
you want to save space, periodically clean out stale dotfiles.
Please do not op the bot! We do not actually check who requests commands,
and we have a passthrough for irc commands. So, if the bot is opped, any
user can perform any operator actions.
About
A markov chain bot in lua
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published