Bayesian Spam Filtering implementation in python