I implemented the Levenshtein algorithm in Java and am now getting the corrections made by the algorithm, a.k.a. the cost. This does help a little but not much since I want the results as a percentage.
So I want to know how to calculate those similarity points.
I would also like to know how you people do it and why.
So if you need a percentage, you have to use this to points to scale. For example:
“Hallo”, “Hello” -> Levenstein distance 1
Max Levenstein distance for this two strings is: 5.
So the 20% of the characters do not match.