use the bayesclassifier hs lib to train a corpus with files on disk, and classify via stdin