MARKOV
about
| author: | Bas van Oostveen |
|---|---|
| contact: | IRCNET/#dunkbots |
| website: | http://plugins.gozerbot.org |
| license: | Public Domain |
description
Gozerbot speaking madness
Markov Talk for Gozerbot
- The Chain:
- (predictate) -> [list of possible words]
- TODO:
- Propabilities
- Start searching for full sentence, not just the first ORDER_K words of a sentence
commands
markov-enable
enable markov learning in [<channel>]
<user> !markov-enable <output> #test is already enabled
<user> !markov-enable #dunkbots <output> #dunkbots is already enabled
markov
ask for markov response
<user> !markov nice weather <output> none
markov-cfg
plugin configuration
<user> !markov-cfg <output> options: command=1 .. enable=['#test', '#dunkbots'] <output> .. onjoin=[]
markov-cfgsave
save plugin configuration
<user> !markov-cfgsave <output> config saved
markov-learn
learn a logfile or learn an url
<user> !markov-learn #dunkbots <output> learning log file #dunkbots
<user> !markov-learn http://gozerbot.org <output> learned 74 lines
markov-learnadd
add channel or url to permanent learning .. this will learn the item on startup
<user> !markov-learnadd #dunkbots <output> learning log file #dunkbots
<user> !markov-learnadd http://gozerbot.org <output> learned 74 lines .. done
markov-learndel
remove item from learnlist
<user> !markov-learndel #dunkbots <output> done
<user> !markov-learndel http://gozerbot.org <output> done
markov-learnlist
show items in learnlist
<user> !markov-learnlist <output> ['#test']
markov-onjoinadd
add channel to onjoin config
<user> !markov-onjoinadd <output> #test added
<user> !markov-onjoinadd #dunkbots <output> #dunkbots added
markov-onjoinremove
remove channel from onjoin config
<user> !markov-onjoinremove <output> #test removed
<user> !markov-onjoinremove #dunkbots <output> #dunkbots removed
markov-size
size of markovchains
<user> !markov-size <output> I know 89618 phrases
markov-disable
disable markov learning in [<channel>]
<user> !markov-disable <output> #test disabled
<user> !markov-disable #dunkbots <output> #dunkbots disabled