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