Click or drag to resize

StringDifferenceLevenshtein Method

Calculate the levenshtein distance between strings

Namespace:  SanteDB.Matcher.Util
Assembly:  SanteDB.Matcher (in SanteDB.Matcher.dll) Version: 2.2.1
Syntax
public static double Levenshtein(
	this string source,
	string target
)

Parameters

source
Type: SystemString

[Missing <param name="source"/> documentation for "M:SanteDB.Matcher.Util.StringDifference.Levenshtein(System.String,System.String)"]

target
Type: SystemString

[Missing <param name="target"/> documentation for "M:SanteDB.Matcher.Util.StringDifference.Levenshtein(System.String,System.String)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:SanteDB.Matcher.Util.StringDifference.Levenshtein(System.String,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also