Classify source code using a Naive Bayes text classifier