Envoyer par SMS: Bayesian photometric redshifts with empirical training sets