Simple example of a bayesian text classifier with nodejs EventEmitter.