substitution

open fun substitution(first: Char, second: Char): Double

Indicate the cost of substitution. The cost in the range [0, 1].

Parameters

first

first character of the substitution.

second

second character of the substitution.