LCS Edit Distance
Edit distance based on the Longest Common Subsequence — counts only insertions and deletions, making it useful for comparing sequences where order matters.
Tilores uses LCS edit distance in production — so you can automate matching with rules you configure.
Try it yourself
How it works
LCS Edit Distance computes the minimum number of insertions and deletions needed to transform one string into another, based on their Longest Common Subsequence (LCS). Unlike Levenshtein, substitution is not a single operation — it counts as a deletion plus an insertion. This makes LCS Edit Distance more sensitive to structural differences and particularly useful when comparing sequences where character identity matters more than position. The formula is (len(A) − LCS) + (len(B) − LCS).
Use cases in entity resolution
Related tools
Don't implement this yourself
Tilores Studio runs the full matching engine — this algorithm plus configurable rules and real-time entity resolution — locally on your machine. Free, no account, no cloud. Load your own data and see it working in minutes.