public class Sift3 extends Object implements DistanceAlgorithm
| Constructor and Description |
|---|
Sift3(int maxOffset)
Calculates string distance - broadly how many characters are different in one string to another.
|
public Sift3(int maxOffset)
maxOffset - How far away a different character has to be from another to not count
as distance. For example, if your max offset is 5, abcde and abcdef should
have a difference of 0.public float getDistance(String firstString, String secondString)
getDistance in interface DistanceAlgorithmCopyright © 2022. All rights reserved.