Soenneker.Utils.Strings.DiceCoefficient 3.0.141

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.Strings.DiceCoefficient --version 3.0.141                
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.141                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.Strings.DiceCoefficient" Version="3.0.141" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Strings.DiceCoefficient --version 3.0.141                
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.141"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin
#addin nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.141

// Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.141                

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.200 0 3 hours ago
3.0.199 0 7 hours ago
3.0.198 0 7 hours ago
3.0.197 0 15 hours ago
3.0.196 0 15 hours ago
3.0.195 16 16 hours ago
3.0.194 14 16 hours ago
3.0.193 21 18 hours ago
3.0.192 22 20 hours ago
3.0.191 25 a day ago
3.0.190 23 a day ago
3.0.189 28 a day ago
3.0.188 28 a day ago
3.0.187 32 a day ago
3.0.186 30 a day ago
3.0.185 26 a day ago
3.0.184 26 a day ago
3.0.183 29 2 days ago
3.0.182 30 2 days ago
3.0.181 33 2 days ago
3.0.180 31 2 days ago
3.0.179 32 2 days ago
3.0.178 29 3 days ago
3.0.177 28 3 days ago
3.0.176 29 3 days ago
3.0.175 33 4 days ago
3.0.174 29 4 days ago
3.0.173 36 4 days ago
3.0.172 36 4 days ago
3.0.171 32 4 days ago
3.0.170 37 5 days ago
3.0.169 33 5 days ago
3.0.168 34 5 days ago
3.0.167 40 5 days ago
3.0.166 32 5 days ago
3.0.165 29 5 days ago
3.0.164 33 5 days ago
3.0.163 35 5 days ago
3.0.162 32 5 days ago
3.0.161 33 5 days ago
3.0.160 34 5 days ago
3.0.159 40 6 days ago
3.0.158 36 6 days ago
3.0.157 32 6 days ago
3.0.156 35 6 days ago
3.0.155 33 6 days ago
3.0.154 34 6 days ago
3.0.153 17 6 days ago
3.0.152 17 6 days ago
3.0.151 16 6 days ago
3.0.150 15 6 days ago
3.0.149 11 7 days ago
3.0.148 11 7 days ago
3.0.147 9 7 days ago
3.0.146 9 7 days ago
3.0.145 9 7 days ago
3.0.144 7 7 days ago
3.0.143 7 7 days ago
3.0.142 7 7 days ago
3.0.141 7 7 days ago
3.0.140 20 7 days ago
3.0.139 43 8 days ago
3.0.138 38 8 days ago
3.0.137 38 8 days ago
3.0.136 36 8 days ago
3.0.135 44 9 days ago
3.0.134 42 9 days ago
3.0.133 45 10 days ago
3.0.132 46 10 days ago
3.0.131 36 10 days ago
3.0.130 46 11 days ago
3.0.129 42 11 days ago
3.0.128 33 11 days ago
3.0.127 33 11 days ago
3.0.126 47 11 days ago
3.0.125 42 11 days ago
3.0.124 50 11 days ago
3.0.123 45 11 days ago
3.0.122 112 18 days ago
3.0.121 115 18 days ago
3.0.120 108 18 days ago
3.0.119 84 18 days ago
3.0.118 84 19 days ago
3.0.117 86 19 days ago
3.0.116 88 19 days ago
3.0.115 88 19 days ago
3.0.114 88 19 days ago
3.0.113 88 19 days ago
3.0.112 91 19 days ago
3.0.111 97 20 days ago
3.0.110 99 20 days ago
3.0.109 94 20 days ago
3.0.108 95 20 days ago
3.0.107 94 20 days ago
3.0.106 90 20 days ago
3.0.105 87 20 days ago
3.0.104 87 21 days ago
3.0.103 94 21 days ago
3.0.102 91 21 days ago
3.0.101 93 21 days ago
3.0.100 88 21 days ago
3.0.99 100 21 days ago
3.0.98 100 21 days ago
3.0.97 101 21 days ago
3.0.96 74 21 days ago
3.0.95 71 21 days ago
3.0.94 80 21 days ago
3.0.93 74 21 days ago
3.0.92 76 21 days ago
3.0.91 77 21 days ago
3.0.90 75 21 days ago
3.0.89 75 21 days ago
3.0.88 75 22 days ago
3.0.87 75 24 days ago
3.0.86 78 24 days ago
3.0.85 81 25 days ago
3.0.84 84 25 days ago
3.0.83 78 a month ago
3.0.82 75 a month ago
3.0.81 80 a month ago
3.0.80 82 a month ago
3.0.79 75 a month ago
3.0.78 72 a month ago
3.0.77 76 a month ago
3.0.76 73 a month ago
3.0.75 87 a month ago
3.0.74 75 a month ago
3.0.73 76 a month ago
3.0.72 74 a month ago
3.0.71 83 a month ago
3.0.70 87 a month ago
3.0.69 77 a month ago
3.0.68 95 a month ago
3.0.67 78 a month ago
3.0.66 88 a month ago
3.0.65 76 a month ago
3.0.64 77 a month ago
3.0.63 82 a month ago
3.0.62 83 a month ago
3.0.61 76 a month ago
3.0.60 80 a month ago
3.0.59 81 a month ago
3.0.58 82 a month ago
3.0.57 71 a month ago
3.0.56 82 a month ago
3.0.55 85 a month ago
3.0.54 79 a month ago
3.0.53 77 a month ago
3.0.52 81 a month ago
3.0.51 83 a month ago
3.0.50 90 a month ago
3.0.49 86 a month ago
3.0.48 81 a month ago
3.0.47 80 a month ago
3.0.46 84 a month ago
3.0.45 82 a month ago
3.0.44 75 a month ago
3.0.43 87 a month ago
3.0.42 82 a month ago
3.0.41 80 a month ago
3.0.40 77 a month ago
3.0.39 83 a month ago
3.0.38 83 a month ago
3.0.37 77 a month ago
3.0.36 73 a month ago
3.0.35 76 a month ago
3.0.34 78 a month ago
3.0.33 83 a month ago
3.0.32 77 a month ago
3.0.31 91 a month ago
3.0.30 76 a month ago
3.0.29 85 a month ago
3.0.28 81 a month ago
3.0.27 75 a month ago
3.0.26 82 a month ago
3.0.25 76 a month ago
3.0.24 79 a month ago
3.0.23 80 a month ago
3.0.22 79 a month ago
3.0.21 79 a month ago
3.0.20 84 a month ago
3.0.19 80 a month ago
3.0.18 81 a month ago
3.0.17 85 a month ago
3.0.16 83 a month ago
3.0.15 90 a month ago
3.0.14 81 a month ago
3.0.13 77 a month ago
3.0.12 76 a month ago
3.0.11 95 a month ago
3.0.10 84 a month ago
3.0.9 85 a month ago
3.0.7 89 2 months ago
3.0.6 85 2 months ago
3.0.5 85 2 months ago
3.0.4 88 2 months ago
3.0.3 92 2 months ago
3.0.2 89 2 months ago
3.0.1 90 2 months ago