| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final double | Returns: The computed distance.The first string to compare. s1, final String The second string to compare. s2)Implements info. Compute the distance between strings: the minimum number of operations needed to transform one string into the other (insertion, deletion, substitution of a single character, or a transposition of two adjacent characters). |
| private static int |
| Damerau | back to summary |
|---|---|
| public Damerau() | |
| distance | back to summary |
|---|---|
| public final double distance(final String s1, final String s2) Implements info. Compute the distance between strings: the minimum number of operations needed to transform one string into the other (insertion, deletion, substitution of a single character, or a transposition of two adjacent characters).
| |
| min | back to summary |
|---|---|
| private static int min(final int a, final int b, final int c, final int d) | |