C# Class DuoVia.FuzzyStrings.LevenshteinDistanceExtensions

ファイルを表示 Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Public Methods

Method Description
LevenshteinDistance ( this input, string comparedTo, bool caseSensitive = false ) : int

Levenshtein Distance algorithm with transposition.
A value of 1 or 2 is okay, 3 is iffy and greater than 4 is a poor match

Private Methods

Method Description
FindMinimum ( ) : int

Method Details

LevenshteinDistance() public static method

Levenshtein Distance algorithm with transposition.
A value of 1 or 2 is okay, 3 is iffy and greater than 4 is a poor match
public static LevenshteinDistance ( this input, string comparedTo, bool caseSensitive = false ) : int
input this
comparedTo string
caseSensitive bool
return int