The Naive Bayes Classifier function consists of the NaiveBayesMap and NaiveBayesReduce functions, which create a model from training data. You can input the model to the NaiveBayesPredict_MLE 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 (ML Engine).