This package is great, I have a similar need and I was wondering if you tried using a Bayesian classifier for this.