C# 클래스 DuoVia.FuzzyStrings.DiceCoefficientExtensions

파일 보기 프로젝트 열기: Helmut-Ortmann/EnterpriseArchitect_hoTools

공개 메소드들

메소드 설명
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[]

비공개 메소드들

메소드 설명
ToNGrams ( string input, int nLength ) : string[]

메소드 상세

DiceCoefficient() 공개 정적인 메소드

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
리턴 double

ToBiGrams() 공개 정적인 메소드

public static ToBiGrams ( this input ) : string[]
input this
리턴 string[]

ToTriGrams() 공개 정적인 메소드

public static ToTriGrams ( this input ) : string[]
input this
리턴 string[]