The TextClassifier function classifies input text, using a model output by the function TextClassifierTrainer.