Compute n-gram distance, in the range [0, 1].
[0, 1]
the first string to compare.
the second string to compare.