public class Levenshtein extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
a |
protected int |
b |
protected int |
d |
protected int |
e |
protected int |
s |
protected int |
w |
Constructor and Description |
---|
Levenshtein(int swap,
int substitute,
int add,
int delete,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
cost(String s1,
String s2) |
protected static int |
different(String s1,
int index1,
String s2,
int index2) |
protected static boolean |
equals(String s1,
int index1,
String s2,
int index2) |
static void |
main(String[] args) |
Copyright © 2015–2021 Fiji. All rights reserved.