Text this: Markov Models for Pattern Recognition