Click or drag to resize
Accord.NET (logo)

DistanceLevenshtein Method (String, String)

Gets the Levenshtein distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Levenshtein(
	string x,
	string y
)
Request Example View Source

Parameters

x
Type: SystemString
The first point x.
y
Type: SystemString
The second point y.

Return Value

Type: Double
The Levenshtein distance between x and y.
Examples
For examples, please see Levenshtein documentation page.
See Also