public class Sift4 extends Object implements StringDistance
| Constructor and Description |
|---|
Sift4() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(String s1,
String s2)
Sift4 - a general purpose string distance algorithm inspired by
JaroWinkler and Longest Common Subsequence.
|
void |
setMaxOffset(int max_offset)
Set the maximum distance to search for character transposition.
|
public final void setMaxOffset(int max_offset)
max_offset - public final double distance(String s1, String s2)
distance in interface StringDistances1 - s2 - Copyright © 2018. All rights reserved.