A method includes (i) measuring first distances (102) between (a) vectors belonging to a set of vectors that represent an utterance (104) and (b) vectors belonging to a set of vectors that represent a template (106), the measuring being done in accordance with a first order of the utterance vecto rs a first order of the template vectors, and (ii) measuring second distances (110) between (a) individual vectors belonging to the set of vectors that represent the utterance (104) and (b) individual vectors belonging to the se t of vectors that represent the template (108), the measuring being done in accordance with a second order of the utterance vectors and a second order o f the template vectors, and (iii) in which the first template vector order (10 6) and the second template vector order (108) are different and/or the first utterance vector order and the second utterance vector order are different. In another aspect, a method includes measuring distances between vectors that represent an utterance and vectors that represent a template, generating information indicative of how well the vectors of the utterance match the vectors of the template, and making a matching decision based on the measure d distances and on the generated information.
DYNAMIC TIME WARPING OF SPEECH