MetricLCS

class MetricLCS

Distance metric based on Longest Common Subsequence.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun distance(first: String, second: String): Double

Distance metric based on Longest Common Subsequence, computed as 1 - |LCS(first, second)| / max(|first|, |second|).