https://123dok.net/document/oz181wpy-comparing-the-modeling-powers-of-rnn-and-hmm.html