similarity

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

Compute Jaro-Winkler similarity.

Return

The Jaro-Winkler similarity in the range 0, 1

Parameters

first

the first string to compare.

second

the second string to compare.