A php implementation of a Naive Bayes statistical classifier