@philippe It's a very simple naive bayes

github.com/pixelfed/pixelfed/b