Commit Graph

31 Commits (master)

Author SHA1 Message Date
Carlo Strub 54af109661
if word list is too long, only take a random subsample (fixes #11) 6 years ago
Carlo Strub e7ac26f264
Add dry run mode that does not move mails after classification (fixes #8) 6 years ago
Carlo Strub 3a95f5cf1b
Use path/filepath for cleaner and safer path generation 6 years ago
Carlo Strub cb1d924333 please gometalinter 7 years ago
Carlo Strub bbee193679 improve memory footprint 7 years ago
Carlo Strub f77293e7cc Only accept large unicode characters as individual words 7 years ago
Carlo Strub 76d22efc88 accept unicode characters in the word list 7 years ago
Carlo Strub 2216b2a929 Implement automatic learning after predefined duration 7 years ago
Carlo Strub 87b51ebee0 glide up. load mails correctly before learning or classifying them.
improve some logging messages
7 years ago
Carlo Strub 1e67467307 use logrus properly (fixes #1) 7 years ago
Carlo Strub 04cc804722 replace log by logrus 7 years ago
Carlo Strub d69aa14e1e Please gosimplify 7 years ago
Carlo Strub 36a3cb6374 make gometalinter happier 7 years ago
Carlo Strub 639ffadfe3 fix some static code errors 7 years ago
Carlo Strub b5b3792efe implement learning and classifying using Bayes' rule and Hyperloglog
data structures -- still way to go though.
7 years ago
Carlo Strub 0497999a15 many new things... 7 years ago
Carlo Strub cf598f8710 big code cleanup 7 years ago
Carlo Strub 14d7ba2cf2 simplify code 7 years ago
Carlo Strub 1a71d29eae Write methods for Maildir 7 years ago
Carlo Strub 632f0d7ea3 make cmd buildable by exporting more functions in the package 7 years ago
Carlo Strub 8804ec20c7 separate out command and package 7 years ago
Carlo Strub a6b1d02ac2 Classify 7 years ago
Carlo Strub 6613f768da classify 7 years ago
Carlo Strub 0afac8f4c8 add a counter bucket to processed, move some stuff out of main, clean up
mail, create bayesian updater
7 years ago
Carlo Strub ca967c197a observe changes in the mail directories and add dummy functions to handle classifications 7 years ago
Carlo Strub 0961e96b5a Index both junk and good mail in one function 7 years ago
Carlo Strub 667f75925f Load can handle Junk directory automatically 7 years ago
Carlo Strub ca521d51d6 fix tests and remove filter.go 7 years ago
Carlo Strub b887d7dd46 begin handling mails -- far from being done 7 years ago
Carlo Strub eb24f37ae7 produce word lists 7 years ago
Carlo Strub 9ef93ecca8 separate out the mail functions 7 years ago