Soenneker.Utils.Strings.DiceCoefficient
3.0.62
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.Strings.DiceCoefficient --version 3.0.62
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.62
<PackageReference Include="Soenneker.Utils.Strings.DiceCoefficient" Version="3.0.62" />
paket add Soenneker.Utils.Strings.DiceCoefficient --version 3.0.62
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.62"
// Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin #addin nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.62 // Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Tool #tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.62
Soenneker.Utils.Strings.DiceCoefficient
A utility library for comparing strings via the Dice Coefficient algorithm
Installation
dotnet add package Soenneker.Utils.Strings.DiceCoefficient
Why?
The Dice Coefficient is a powerful way to measure similarity between strings or other sequences. It's particularly effective for comparing text fragments, identifying duplicates, and matching approximate content. Here's why it stands out:
Pairwise Comparison:
It evaluates based on overlapping character pairs (bigrams), focusing on shared elements without considering their order.
Balanced by Size:
It considers both the number of matches and the total size of the compared strings, ensuring a fair similarity measure.
Suitable for Real-World Data:
Its sensitivity to shared sequences makes it effective for noisy or partially matching data.
Fast and Scalable:
It's computationally efficient, making it applicable for large datasets or repeated comparisons.
Usage
var text1 = "This is a test";
var text2 = "This is another test";
double result = DiceCoefficientStringUtil.CalculatePercentage(text1, text2); // 74.07
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Soenneker.Extensions.String (>= 3.0.319)
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 |
---|---|---|
3.0.87 | 25 | 12/28/2024 |
3.0.86 | 27 | 12/28/2024 |
3.0.85 | 32 | 12/27/2024 |
3.0.84 | 38 | 12/27/2024 |
3.0.83 | 38 | 12/24/2024 |
3.0.82 | 47 | 12/24/2024 |
3.0.81 | 45 | 12/24/2024 |
3.0.80 | 63 | 12/24/2024 |
3.0.79 | 66 | 12/24/2024 |
3.0.78 | 63 | 12/24/2024 |
3.0.77 | 67 | 12/24/2024 |
3.0.76 | 64 | 12/24/2024 |
3.0.75 | 78 | 12/24/2024 |
3.0.74 | 66 | 12/24/2024 |
3.0.73 | 67 | 12/24/2024 |
3.0.72 | 65 | 12/24/2024 |
3.0.71 | 74 | 12/23/2024 |
3.0.70 | 78 | 12/23/2024 |
3.0.69 | 68 | 12/23/2024 |
3.0.68 | 86 | 12/23/2024 |
3.0.67 | 69 | 12/23/2024 |
3.0.66 | 75 | 12/23/2024 |
3.0.65 | 67 | 12/22/2024 |
3.0.64 | 68 | 12/22/2024 |
3.0.63 | 71 | 12/22/2024 |
3.0.62 | 71 | 12/22/2024 |
3.0.61 | 67 | 12/22/2024 |
3.0.60 | 71 | 12/22/2024 |
3.0.59 | 72 | 12/22/2024 |
3.0.58 | 73 | 12/21/2024 |
3.0.57 | 61 | 12/21/2024 |
3.0.56 | 72 | 12/21/2024 |
3.0.55 | 76 | 12/21/2024 |
3.0.54 | 70 | 12/21/2024 |
3.0.53 | 68 | 12/21/2024 |
3.0.52 | 72 | 12/21/2024 |
3.0.51 | 74 | 12/21/2024 |
3.0.50 | 81 | 12/21/2024 |
3.0.49 | 77 | 12/21/2024 |
3.0.48 | 72 | 12/21/2024 |
3.0.47 | 71 | 12/21/2024 |
3.0.46 | 75 | 12/21/2024 |
3.0.45 | 73 | 12/20/2024 |
3.0.44 | 66 | 12/20/2024 |
3.0.43 | 78 | 12/20/2024 |
3.0.42 | 73 | 12/20/2024 |
3.0.41 | 71 | 12/20/2024 |
3.0.40 | 68 | 12/20/2024 |
3.0.39 | 74 | 12/20/2024 |
3.0.38 | 74 | 12/19/2024 |
3.0.37 | 68 | 12/19/2024 |
3.0.36 | 64 | 12/19/2024 |
3.0.35 | 67 | 12/19/2024 |
3.0.34 | 69 | 12/19/2024 |
3.0.33 | 74 | 12/19/2024 |
3.0.32 | 68 | 12/19/2024 |
3.0.31 | 82 | 12/18/2024 |
3.0.30 | 67 | 12/18/2024 |
3.0.29 | 76 | 12/18/2024 |
3.0.28 | 72 | 12/17/2024 |
3.0.27 | 66 | 12/17/2024 |
3.0.26 | 73 | 12/17/2024 |
3.0.25 | 67 | 12/17/2024 |
3.0.24 | 72 | 12/10/2024 |
3.0.23 | 73 | 12/10/2024 |
3.0.22 | 72 | 12/10/2024 |
3.0.21 | 72 | 12/9/2024 |
3.0.20 | 76 | 12/9/2024 |
3.0.19 | 73 | 12/9/2024 |
3.0.18 | 74 | 12/9/2024 |
3.0.17 | 77 | 12/9/2024 |
3.0.16 | 75 | 12/7/2024 |
3.0.15 | 82 | 12/6/2024 |
3.0.14 | 73 | 12/6/2024 |
3.0.13 | 69 | 12/6/2024 |
3.0.12 | 68 | 12/6/2024 |
3.0.11 | 87 | 12/6/2024 |
3.0.10 | 76 | 12/6/2024 |
3.0.9 | 75 | 12/6/2024 |
3.0.7 | 79 | 12/6/2024 |
3.0.6 | 75 | 12/6/2024 |
3.0.5 | 76 | 12/5/2024 |
3.0.4 | 75 | 12/5/2024 |
3.0.3 | 85 | 12/5/2024 |
3.0.2 | 82 | 12/4/2024 |
3.0.1 | 83 | 12/4/2024 |