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: 3.0.2081-alpha+c89b6faf865d37596ce49c6b3119b280fbaa425a
Syntax
public static double Levenshtein(
	this string source,
	string target
)

Parameters

source  String

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

target  String

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

Return Value

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