distance

fun distance(first: String, second: String): Double

Compute n-gram distance, in the range [0, 1].

Parameters

first

the first string to compare.

second

the second string to compare.