2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-10-31 09:20:15 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Carlo Strub
3a95f5cf1b
Use path/filepath for cleaner and safer path generation 2018-01-11 21:35:27 +01:00
Carlo Strub
cb1d924333 please gometalinter 2017-09-17 19:17:43 +02:00
Carlo Strub
bbee193679 improve memory footprint 2017-09-17 00:56:17 +02:00
Carlo Strub
f77293e7cc Only accept large unicode characters as individual words 2017-09-16 22:07:36 +02:00
Carlo Strub
76d22efc88 accept unicode characters in the word list 2017-09-10 00:53:11 +02:00
Carlo Strub
2216b2a929 Implement automatic learning after predefined duration 2017-06-05 16:20:03 +00:00
Carlo Strub
87b51ebee0 glide up. load mails correctly before learning or classifying them.
improve some logging messages
2017-06-05 13:33:32 +00:00
Carlo Strub
1e67467307 use logrus properly (fixes #1) 2017-05-23 20:43:17 +00:00
Carlo Strub
04cc804722 replace log by logrus 2017-05-18 19:21:46 +00:00
Carlo Strub
d69aa14e1e Please gosimplify 2017-05-15 20:58:24 +00:00
Carlo Strub
36a3cb6374 make gometalinter happier 2017-05-13 22:34:54 +00:00
Carlo Strub
639ffadfe3 fix some static code errors 2017-05-10 17:23:25 +00:00
Carlo Strub
b5b3792efe implement learning and classifying using Bayes' rule and Hyperloglog
data structures -- still way to go though.
2017-05-10 03:45:11 +00:00
Carlo Strub
0497999a15 many new things... 2017-05-08 03:29:25 +00:00
Carlo Strub
cf598f8710 big code cleanup 2017-04-26 11:20:21 +00:00
Carlo Strub
14d7ba2cf2 simplify code 2017-04-25 17:18:21 +00:00
Carlo Strub
1a71d29eae Write methods for Maildir 2017-04-25 17:01:11 +00:00
Carlo Strub
632f0d7ea3 make cmd buildable by exporting more functions in the package 2017-04-17 21:13:18 +00:00
Carlo Strub
8804ec20c7 separate out command and package 2017-04-15 20:23:26 +00:00
Carlo Strub
a6b1d02ac2 Classify 2017-03-19 22:35:13 +00:00
Carlo Strub
6613f768da classify 2017-03-19 21:43:14 +00:00
Carlo Strub
0afac8f4c8 add a counter bucket to processed, move some stuff out of main, clean up
mail, create bayesian updater
2017-03-19 20:54:23 +00:00
Carlo Strub
ca967c197a observe changes in the mail directories and add dummy functions to handle classifications 2017-03-16 22:08:23 +00:00
Carlo Strub
0961e96b5a Index both junk and good mail in one function 2017-03-16 21:14:24 +00:00
Carlo Strub
667f75925f Load can handle Junk directory automatically 2017-03-16 21:04:38 +00:00
Carlo Strub
ca521d51d6 fix tests and remove filter.go 2017-03-16 20:21:24 +00:00
Carlo Strub
b887d7dd46 begin handling mails -- far from being done 2017-03-16 20:13:39 +00:00
Carlo Strub
eb24f37ae7 produce word lists 2017-03-10 21:41:49 +00:00
Carlo Strub
9ef93ecca8 separate out the mail functions 2017-03-09 19:05:51 +00:00