they r 2 well known algos...discrete time wraping n hidden markov model...both dealin with statistical signal processing. the former is a bit out dated one. on that is being used at the moment in HMM. so, if u ask me i advice you to go wid that.
n regarding the algo...u can search in the book....
"fundamentals of speech recognition using HMM" by rabiner. or discrete signal processing over speech signals" by deller...