Click or drag to resize

StringDifferenceSorensenDice Method

Calculates the sorensen dice coefficient between two strings

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

Parameters

source
Type: SystemString

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

target
Type: SystemString

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

Return Value

Type: Double

[Missing <returns> documentation for "M:SanteDB.Matcher.Util.StringDifference.SorensenDice(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