Méthode | Description | |
---|---|---|
CalculateDistance ( string s, string t, int substitutionCost ) : int |
Calculates the Levenshtein minimum edit distance from one string to another
|
|
CalculateDistance ( string s, string t, int substitutionCost, |
Calculates the Levenshtein minimum edit distance from one string to another -> optionally uses a MemoryStructure for the algo of your choice
|
public static CalculateDistance ( string s, string t, int substitutionCost ) : int | ||
s | string | |
t | string | |
substitutionCost | int | int the cost of substituting one letter for another. Typically 1 or 2 |
Résultat | int |
public static CalculateDistance ( string s, string t, int substitutionCost, |
||
s | string | |
t | string | |
substitutionCost | int | int the cost of substituting one letter for another. Typically 1 or 2 |
d | ||
Résultat | int |