Package weka.core
Class EditDistance
java.lang.Object
weka.core.NormalizableDistance
weka.core.AbstractStringDistanceFunction
weka.core.EditDistance
- All Implemented Interfaces:
Serializable
,DistanceFunction
,OptionHandler
,RevisionHandler
Computes the Levenshtein edit distance between two strings.
- Version:
- $Revision: 1.2 $
- Author:
- Bruno Woltzenlogel Paleo
- See Also:
-
Field Summary
Fields inherited from class weka.core.NormalizableDistance
R_MAX, R_MIN, R_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the revision string.Returns a string describing this object.Methods inherited from class weka.core.AbstractStringDistanceFunction
distance
Methods inherited from class weka.core.NormalizableDistance
attributeIndicesTipText, clean, distance, distance, distance, dontNormalizeTipText, getAttributeIndices, getDontNormalize, getInstances, getInvertSelection, getOptions, getRanges, initializeRanges, initializeRanges, initializeRanges, initializeRangesEmpty, inRanges, invertSelectionTipText, listOptions, postProcessDistances, rangesSet, setAttributeIndices, setDontNormalize, setInstances, setInvertSelection, setOptions, toString, update, updateRanges, updateRanges, updateRanges, updateRangesFirst
-
Constructor Details
-
EditDistance
public EditDistance() -
EditDistance
-
-
Method Details
-
globalInfo
Returns a string describing this object.- Specified by:
globalInfo
in classNormalizableDistance
- Returns:
- a description of the evaluator suitable for displaying in the explorer/experimenter gui
-
getRevision
Returns the revision string.- Returns:
- the revision
-