Naive Bayes algorithm
The Naive Bayes method is a mathematical method for automatic text classification. In Naive Bayes, probabilities are determined under which a document occurs in a class. The selection criterion is given by the class with the highest probability. The keywords are not in any context when determining the classes.