i whant to recgnise handwritten words and i whant to use HMMs. i whant use character HMM each character is modled by un HMM and the word is the combination of the caracters but i don't now how to train the model can you help me thanks
I recommend you read the following book, it does show some examples and ways of training HMMs for word / character recognition from handwriting: "Character Recognition Systems: A Guide for Students and Practitioners" by Mohamed Cheriet, Nawwaf Kharma and Cheng-Lin.
This article can also be of service for your task: http://www.cvc.uab.es/icdar2009/papers/3725a783.pdf