HIDDEN MARKOV MODELS AND OTHER FINITE STATE AUTOMATA FOR SEQUENCE PROCESSING
Introduction to automata theory, languages, and computation, 2nd edition