C# Class DuoVia.FuzzyStrings.LevenshteinDistanceExtensions

Afficher le fichier Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Méthodes publiques

Méthode 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

Méthode Description
FindMinimum ( ) : int

Method Details

LevenshteinDistance() public static méthode

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
Résultat int