In the following, in a phoneme confusion matrix, a value assigned to a row of phoneme X and a column of phoneme Y is expressed as Matrix (X, Y).
The edit distance which reflects a phoneme confusion matrix can be calculated.