Zaslat SMS: Inference in hidden Markov models