PHP Language bayesian classifier