[major] Add bayes classifier for licenses