|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.similarity.nominal.LevenshteinDistance
public class LevenshteinDistance
This calculates the levenshtein distance of two strings. This is not a valid distance measure. TODO: Extend this to become a valid distance measure
| Constructor Summary | |
|---|---|
LevenshteinDistance()
|
|
| Method Summary | |
|---|---|
static int |
getDistance(java.lang.String value1,
java.lang.String value2,
int substitutionCost)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LevenshteinDistance()
| Method Detail |
|---|
public static int getDistance(java.lang.String value1,
java.lang.String value2,
int substitutionCost)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||