Just want to remember using R, so I thought of making a classifier based on Bayes rule, with feature extraction and distribution fitting.