A police officer trains a german shepherd .