Cursive handwriting recognition using hidden Markov models and a lexicon-driven level building algorithm | Synapse