Soenneker.Utils.Strings.DiceCoefficient 3.0.282

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.282                
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.282                
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.282" />                
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.282                
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.282"                
#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.282

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

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.336 77 3/2/2025
3.0.335 71 3/2/2025
3.0.334 70 3/2/2025
3.0.333 72 3/2/2025
3.0.332 77 3/2/2025
3.0.331 75 3/2/2025
3.0.330 85 3/1/2025
3.0.329 75 3/1/2025
3.0.328 75 3/1/2025
3.0.327 74 3/1/2025
3.0.326 70 3/1/2025
3.0.325 74 3/1/2025
3.0.324 79 3/1/2025
3.0.323 74 3/1/2025
3.0.322 74 3/1/2025
3.0.321 70 3/1/2025
3.0.320 67 3/1/2025
3.0.319 85 2/25/2025
3.0.318 86 2/25/2025
3.0.317 76 2/25/2025
3.0.316 77 2/24/2025
3.0.315 75 2/24/2025
3.0.314 89 2/23/2025
3.0.313 84 2/23/2025
3.0.312 78 2/22/2025
3.0.311 82 2/22/2025
3.0.310 80 2/22/2025
3.0.309 77 2/22/2025
3.0.308 79 2/21/2025
3.0.307 82 2/21/2025
3.0.306 87 2/21/2025
3.0.305 83 2/19/2025
3.0.304 87 2/19/2025
3.0.303 83 2/19/2025
3.0.302 87 2/18/2025
3.0.301 82 2/18/2025
3.0.300 90 2/18/2025
3.0.299 88 2/18/2025
3.0.298 86 2/18/2025
3.0.297 79 2/18/2025
3.0.296 84 2/14/2025
3.0.295 83 2/14/2025
3.0.294 88 2/13/2025
3.0.293 80 2/13/2025
3.0.292 82 2/12/2025
3.0.291 103 2/12/2025
3.0.290 94 2/12/2025
3.0.289 97 2/12/2025
3.0.288 94 2/12/2025
3.0.287 90 2/11/2025
3.0.286 83 2/11/2025
3.0.285 90 2/11/2025
3.0.284 90 2/11/2025
3.0.283 88 2/11/2025
3.0.282 88 2/11/2025
3.0.281 88 2/11/2025
3.0.280 97 2/11/2025
3.0.279 91 2/11/2025
3.0.278 85 2/11/2025
3.0.277 84 2/11/2025
3.0.276 76 2/11/2025
3.0.275 83 2/10/2025
3.0.274 89 2/10/2025
3.0.273 87 2/10/2025
3.0.272 89 2/10/2025
3.0.271 95 2/10/2025
3.0.270 92 2/10/2025
3.0.269 89 2/10/2025
3.0.268 89 2/9/2025
3.0.267 80 2/9/2025
3.0.266 86 2/8/2025
3.0.265 78 2/8/2025
3.0.264 81 2/8/2025
3.0.263 86 2/8/2025
3.0.262 78 2/8/2025
3.0.261 80 2/8/2025
3.0.260 79 2/8/2025
3.0.259 79 2/7/2025
3.0.258 78 2/7/2025
3.0.257 83 2/7/2025
3.0.256 82 2/7/2025
3.0.255 85 2/7/2025
3.0.253 78 2/7/2025
3.0.252 76 2/7/2025
3.0.251 76 2/7/2025
3.0.250 79 2/7/2025
3.0.249 80 2/6/2025
3.0.248 84 2/5/2025
3.0.247 92 2/5/2025
3.0.246 83 2/5/2025
3.0.245 81 2/5/2025
3.0.244 81 2/5/2025
3.0.243 86 2/5/2025
3.0.242 83 2/5/2025
3.0.241 95 1/28/2025
3.0.240 74 1/28/2025
3.0.239 90 1/28/2025
3.0.238 75 1/27/2025
3.0.237 85 1/27/2025
3.0.236 83 1/27/2025
3.0.235 68 1/27/2025
3.0.234 78 1/27/2025
3.0.233 77 1/27/2025
3.0.232 69 1/27/2025
3.0.231 86 1/27/2025
3.0.230 74 1/27/2025
3.0.229 88 1/26/2025
3.0.228 89 1/26/2025
3.0.227 74 1/26/2025
3.0.226 80 1/25/2025
3.0.225 79 1/25/2025
3.0.224 92 1/25/2025
3.0.223 81 1/25/2025
3.0.222 84 1/25/2025
3.0.221 81 1/25/2025
3.0.220 79 1/25/2025
3.0.219 74 1/25/2025
3.0.218 73 1/24/2025
3.0.217 71 1/24/2025
3.0.216 70 1/24/2025
3.0.215 76 1/24/2025
3.0.214 88 1/24/2025
3.0.213 78 1/24/2025
3.0.212 76 1/24/2025
3.0.211 86 1/24/2025
3.0.210 80 1/23/2025
3.0.209 83 1/23/2025
3.0.208 97 1/23/2025
3.0.207 80 1/21/2025
3.0.206 77 1/21/2025
3.0.205 81 1/21/2025
3.0.204 84 1/21/2025
3.0.203 84 1/21/2025
3.0.202 84 1/21/2025
3.0.201 84 1/21/2025
3.0.200 84 1/21/2025
3.0.199 84 1/21/2025
3.0.198 77 1/21/2025
3.0.197 81 1/20/2025
3.0.196 74 1/20/2025
3.0.195 81 1/20/2025
3.0.194 84 1/20/2025
3.0.193 79 1/20/2025
3.0.192 74 1/20/2025
3.0.191 82 1/20/2025
3.0.190 77 1/20/2025
3.0.189 83 1/20/2025
3.0.188 86 1/20/2025
3.0.187 88 1/20/2025
3.0.186 89 1/20/2025
3.0.185 82 1/20/2025
3.0.184 80 1/20/2025
3.0.183 76 1/19/2025
3.0.182 74 1/19/2025
3.0.181 83 1/19/2025
3.0.180 67 1/19/2025
3.0.179 75 1/19/2025
3.0.178 73 1/18/2025
3.0.177 77 1/18/2025
3.0.176 67 1/18/2025
3.0.175 76 1/17/2025
3.0.174 74 1/17/2025
3.0.173 84 1/17/2025
3.0.172 78 1/17/2025
3.0.171 74 1/17/2025
3.0.170 76 1/17/2025
3.0.169 71 1/16/2025
3.0.168 72 1/16/2025
3.0.167 78 1/16/2025
3.0.166 66 1/16/2025
3.0.165 67 1/16/2025
3.0.164 73 1/16/2025
3.0.163 82 1/16/2025
3.0.162 80 1/16/2025
3.0.161 77 1/16/2025
3.0.160 75 1/16/2025
3.0.159 80 1/15/2025
3.0.158 79 1/15/2025
3.0.157 70 1/15/2025
3.0.156 72 1/15/2025
3.0.155 70 1/15/2025
3.0.154 72 1/15/2025
3.0.153 58 1/15/2025
3.0.152 55 1/15/2025
3.0.151 53 1/15/2025
3.0.150 50 1/15/2025
3.0.149 45 1/15/2025
3.0.148 48 1/15/2025
3.0.147 62 1/14/2025
3.0.146 62 1/14/2025
3.0.145 67 1/14/2025
3.0.144 66 1/14/2025
3.0.143 63 1/14/2025
3.0.142 59 1/14/2025
3.0.141 58 1/14/2025
3.0.140 62 1/14/2025
3.0.139 68 1/13/2025
3.0.138 64 1/13/2025
3.0.137 64 1/13/2025
3.0.136 62 1/13/2025
3.0.135 70 1/12/2025
3.0.134 66 1/12/2025
3.0.133 78 1/11/2025
3.0.132 80 1/11/2025
3.0.131 72 1/11/2025
3.0.130 83 1/10/2025
3.0.129 77 1/10/2025
3.0.128 66 1/10/2025
3.0.127 67 1/10/2025
3.0.126 81 1/10/2025
3.0.125 75 1/10/2025
3.0.124 83 1/10/2025
3.0.123 78 1/10/2025
3.0.122 119 1/3/2025
3.0.121 122 1/3/2025
3.0.120 113 1/3/2025
3.0.119 89 1/3/2025
3.0.118 89 1/3/2025
3.0.117 91 1/2/2025
3.0.116 93 1/2/2025
3.0.115 93 1/2/2025
3.0.114 93 1/2/2025
3.0.113 93 1/2/2025
3.0.112 96 1/2/2025
3.0.111 102 1/1/2025
3.0.110 104 1/1/2025
3.0.109 99 1/1/2025
3.0.108 102 1/1/2025
3.0.107 101 1/1/2025
3.0.106 95 1/1/2025
3.0.105 92 1/1/2025
3.0.104 92 1/1/2025
3.0.103 101 1/1/2025
3.0.102 96 12/31/2024
3.0.101 98 12/31/2024
3.0.100 95 12/31/2024
3.0.99 103 12/31/2024
3.0.98 106 12/31/2024
3.0.97 107 12/31/2024
3.0.96 80 12/31/2024
3.0.95 77 12/31/2024
3.0.94 86 12/31/2024
3.0.93 80 12/31/2024
3.0.92 82 12/31/2024
3.0.91 81 12/31/2024
3.0.90 79 12/31/2024
3.0.89 81 12/31/2024
3.0.88 79 12/30/2024
3.0.87 80 12/28/2024
3.0.86 82 12/28/2024
3.0.85 86 12/27/2024
3.0.84 89 12/27/2024
3.0.83 83 12/24/2024
3.0.82 80 12/24/2024
3.0.81 85 12/24/2024
3.0.80 89 12/24/2024
3.0.79 80 12/24/2024
3.0.78 77 12/24/2024
3.0.77 79 12/24/2024
3.0.76 76 12/24/2024
3.0.75 92 12/24/2024
3.0.74 80 12/24/2024
3.0.73 81 12/24/2024
3.0.72 79 12/24/2024
3.0.71 88 12/23/2024
3.0.70 92 12/23/2024
3.0.69 82 12/23/2024
3.0.68 100 12/23/2024
3.0.67 83 12/23/2024
3.0.66 93 12/23/2024
3.0.65 81 12/22/2024
3.0.64 80 12/22/2024
3.0.63 87 12/22/2024
3.0.62 86 12/22/2024
3.0.61 81 12/22/2024
3.0.60 85 12/22/2024
3.0.59 86 12/22/2024
3.0.58 87 12/21/2024
3.0.57 74 12/21/2024
3.0.56 85 12/21/2024
3.0.55 90 12/21/2024
3.0.54 84 12/21/2024
3.0.53 82 12/21/2024
3.0.52 84 12/21/2024
3.0.51 86 12/21/2024
3.0.50 95 12/21/2024
3.0.49 91 12/21/2024
3.0.48 86 12/21/2024
3.0.47 86 12/21/2024
3.0.46 90 12/21/2024
3.0.45 87 12/20/2024
3.0.44 79 12/20/2024
3.0.43 90 12/20/2024
3.0.42 87 12/20/2024
3.0.41 86 12/20/2024
3.0.40 81 12/20/2024
3.0.39 89 12/20/2024
3.0.38 89 12/19/2024
3.0.37 81 12/19/2024
3.0.36 80 12/19/2024
3.0.35 82 12/19/2024
3.0.34 82 12/19/2024
3.0.33 91 12/19/2024
3.0.32 83 12/19/2024
3.0.31 98 12/18/2024
3.0.30 85 12/18/2024
3.0.29 91 12/18/2024
3.0.28 86 12/17/2024
3.0.27 82 12/17/2024
3.0.26 89 12/17/2024
3.0.25 81 12/17/2024
3.0.24 86 12/10/2024
3.0.23 88 12/10/2024
3.0.22 83 12/10/2024
3.0.21 86 12/9/2024
3.0.20 91 12/9/2024
3.0.19 87 12/9/2024
3.0.18 86 12/9/2024
3.0.17 93 12/9/2024
3.0.16 89 12/7/2024
3.0.15 94 12/6/2024
3.0.14 85 12/6/2024
3.0.13 85 12/6/2024
3.0.12 82 12/6/2024
3.0.11 103 12/6/2024
3.0.10 98 12/6/2024
3.0.9 89 12/6/2024
3.0.7 93 12/6/2024
3.0.6 89 12/6/2024
3.0.5 90 12/5/2024
3.0.4 91 12/5/2024
3.0.3 95 12/5/2024
3.0.2 93 12/4/2024
3.0.1 93 12/4/2024