Text this: Processing hidden Markov models using recurrent neural networks for biological applications