How to compare vocal words in matlab
Dan Ellis has some neat Matlab scripts that allow you to pull audio features from files . . .

http://labrosa.ee.columbia.edu/matlab/

The dynamic time warp might be a good starting point for the task you describe.