| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final double | distance(final String s1, final String s2)
Implements info. Sift4 - a general purpose string distance algorithm inspired by JaroWinkler and Longest Common Subsequence. |
| public final void |
| DEFAULT_MAX_OFFSET | back to summary |
|---|---|
| private static final int DEFAULT_MAX_OFFSET | |
| max_offset | back to summary |
|---|---|
| private int max_offset | |
| Sift4 | back to summary |
|---|---|
| public Sift4() | |
| distance | back to summary |
|---|---|
| public final double distance(final String s1, final String s2) Implements info. Sift4 - a general purpose string distance algorithm inspired by JaroWinkler and Longest Common Subsequence. Original JavaScript algorithm by siderite, java port by Nathan Fischer 2016. https://siderite.dev/blog/super-fast-and-accurate-string-distance.html https://blackdoor.github.io/blog/sift4-java/ | |
| setMaxOffset | back to summary |
|---|---|
| public final void setMaxOffset(final int max_offset) Set the maximum distance to search for character transposition. Compute cost of algorithm is O(n . max_offset) | |