C# Class DuoVia.FuzzyStrings.DiceCoefficientExtensions

Afficher le fichier Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Méthodes publiques

Méthode Description
DiceCoefficient ( this input, string comparedTo ) : double

Dice Coefficient based on bigrams.
A good value would be 0.33 or above, a value under 0.2 is not a good match, from 0.2 to 0.33 is iffy.

ToBiGrams ( this input ) : string[]
ToTriGrams ( this input ) : string[]

Private Methods

Méthode Description
ToNGrams ( string input, int nLength ) : string[]

Method Details

DiceCoefficient() public static méthode

Dice Coefficient based on bigrams.
A good value would be 0.33 or above, a value under 0.2 is not a good match, from 0.2 to 0.33 is iffy.
public static DiceCoefficient ( this input, string comparedTo ) : double
input this
comparedTo string
Résultat double

ToBiGrams() public static méthode

public static ToBiGrams ( this input ) : string[]
input this
Résultat string[]

ToTriGrams() public static méthode

public static ToTriGrams ( this input ) : string[]
input this
Résultat string[]