A very simple Multinomial Naive Bayes implementation that takes libsvm data files as a input and outputs accuracy of classification.