The Naive Bayes Classifier consists of the NaiveBayesMap and NaiveBayesReduce functions, which create a model from training data. You can input the model to the NaiveBayesPredict function, which uses the model to make predictions about testing data.
For the Naive Bayes functions designed specifically for text classification, see Naive Bayes Text Classifier Functions.