A system is provided for matching two or more sequences of phonemes both
or all of which may be generated from text or speech. A dynamic
programming matching technique is preferably used having constraints
which depend upon whether or not the two sequences are generated from
text or speech and in which the scoring of the dynamic programming paths
is weighted by phoneme confusion scores, phoneme insertion scores and
phoneme deletion scores where appropriate.