1
0
mirror of https://github.com/velour/catbase.git synced 2025-04-04 12:11:42 +00:00

9 Commits

Author SHA1 Message Date
a6847a996f babbler: refactor 2021-02-01 10:48:06 -05:00
skkiesel
91a334b32b Fixed babbler tests by not running go routines during testing. (go fmt on nerdepedia because of course this should all happen in one commit) 2019-01-19 09:53:41 -05:00
66fa219f78 babbler: make recording new babbles _fast_
This is a hack. I am just pushing the processing off into a goroutine so
that we can return as quickly as possible from a non-event as far as the
bot's interaction with users is concerned. This is potentially harmful
if we have too many goroutines blocked writing babblers (hopefully
    sqlite is configured to be thread-safe). But if we have a bunch of
    babblers writing off to disk, it's no worse than blocking for each
    one sequentially, I guess.
2018-11-08 18:06:11 -05:00
skkiesel
8735a2283b quiet down the babbler 2017-06-16 15:02:28 -04:00
skkiesel
9734845146 Even more custom babbling... with bookends! closed #58 2017-06-06 20:03:07 -04:00
skkiesel
aaba7c5bff allow babbles to formed with suffixes (closes #55) 2017-06-05 19:53:19 -04:00
skkiesel
e97ce576b8 probably not a huge memory savings, but only represent each unique word once and then reference them by their key for each babbler 2017-05-10 12:43:41 -04:00
skkiesel
efde5d804d add feedback for when a seed isn't found 2017-05-10 10:11:49 -04:00
skkiesel
f28dabf0ba clean up and ignore empty strings when adding to the markov chain 2017-05-10 09:42:27 -04:00