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 ?
He turned and looked down the train as we alighted.
The tail of his sentence was drowned in the roar of the train as it went rocking and clanking; but through all the hell of noises to which that unhappy house was periodically subject, they could hear the syllables of Magnus's answer, in all their bell-like distinctness: "I have no reason to feel confidence in Sir Aaron's family.
For the first few days I could not feed in peace; but as I found that this terrible creature never came into the field, or did me any harm, I began to disregard it, and very soon I cared as little about the passing of a train as the cows and sheep did.