/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.utils/LocationUtil/getRelevancePoint

getRelevancePoint

\ fun getRelevancePoint(firstLocationString: String, secondLocationString: String): Double

Computes the maximum textual relevance between two strings, in both directions.

Return

the maximum relevance score as a Double, between 0 and 1.

Parameters

androidJvm

firstLocationString the first string to compare.
secondLocationString the second string to compare.