naive bayes as a webservice (inactive)