A Japanese train barks like a dog and snorts like a deer in order to prevent collisions with animals on the railway.