Naive Bayesian algorithm in go.