train as

train (someone or an animal) as something

to educate someone or an animal to serve in a particular way. We trained him as a first-rate mechanic. I trained my cocker spaniel as a moderately effective watchdog.
See also: train
References in classic literature ?
Then they came upon vast tracts extending to the horizon, with jungles inhabited by snakes and tigers, which fled at the noise of the train; succeeded by forests penetrated by the railway, and still haunted by elephants which, with pensive eyes, gazed at the train as it passed.
He turned and looked down the train as we alighted.