The TextClassifierTrainer function trains a machine-learning classifier for text classification and installs the model file on the ML Engine. The model file can then be input to the function TextClassifier.
TextClassifierTrainer uses files that are preinstalled on the ML Engine. For details, see Preinstalled Files That Functions Use.