JacekSzybisz.FuzzyMatch
1.0.0
dotnet add package JacekSzybisz.FuzzyMatch --version 1.0.0
NuGet\Install-Package JacekSzybisz.FuzzyMatch -Version 1.0.0
<PackageReference Include="JacekSzybisz.FuzzyMatch" Version="1.0.0" />
paket add JacekSzybisz.FuzzyMatch --version 1.0.0
#r "nuget: JacekSzybisz.FuzzyMatch, 1.0.0"
// Install JacekSzybisz.FuzzyMatch as a Cake Addin #addin nuget:?package=JacekSzybisz.FuzzyMatch&version=1.0.0 // Install JacekSzybisz.FuzzyMatch as a Cake Tool #tool nuget:?package=JacekSzybisz.FuzzyMatch&version=1.0.0
Fuzzy Match
Library is used to perform fuzzy matching (matching simillar strings ). It uses Levenshtein Distance algorithms to perform this operation. User can specify sensitive of algorithm using maxDistance parameter.
Levenshtein Distance
In information theory, linguistics and computer science, the Levenshtein distance is a string metric for measuring the difference between two sequences. Informally, the Levenshtein distance between two words is the minimum number of single-character edits (insertions, deletions or substitutions) required to change one word into the other. It is named after the Soviet mathematician Vladimir Levenshtein, who considered this distance in 1965.[1] https://en.wikipedia.org/wiki/Levenshtein_distance
Usage
using System;
using JacekSzybisz.FuzzyMatch;
using JacekSzybisz.FuzzyMatch.Algorithms.LevenshteinDistance;
namespace FuzzyMatch.Sample
{
class Program
{
static void Main(string[] args)
{
IFuzzyMatchProvider fuzzyMatchProvider = new FuzzyMatchProvider(new LevenshteinDistanceService());
var isMatch = fuzzyMatchProvider.IsMatch("Honda", "Hyundai", 2);
if (isMatch)
{
Console.WriteLine("Honda and Hyundai is similar enough to be considered as match");
}
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,866 | 9/13/2018 |
Initial version