The edit distance satisfies the axioms of a metric when the costs are non-negative.

The edit distance satisfies the axioms of a metric when the costs are non-negative. Correct Answer True

d(s,s) = 0, since each string can be transformed into itself without any change. d(s1, s2) > 0 when s1 != s2, since the transformation would require at least one operation. d(s1, s2) = d(s2, s1) d(s1, s3) <= d(s1, s2) + d(s2, s3) Thus, the edit distance satisfies the axioms of a metric.

Related Questions

Given below are two statements: Statement I: 5 divides n5 - n whenever n is a nonnegative integer. Statement II: 6 divides n3 - n whenever n is a nonnegative integer. In the light of the above statements. choose the correct answer from the options given below
Assertion (A): Only the relevant costs should be taken into consideration for decision-making.
Reason (R): All variable costs are relevant costs, and all fixed costs are irrelevant costs.