Soenneker.Utils.Strings.DiceCoefficient 3.0.422

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.422
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.422
                    
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.422" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Strings.DiceCoefficient" Version="3.0.422" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.Strings.DiceCoefficient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.Strings.DiceCoefficient --version 3.0.422
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.422"
                    
#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.
#:package Soenneker.Utils.Strings.DiceCoefficient@3.0.422
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.422
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.422
                    
Install as a Cake Tool

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.426 0 8/11/2025
3.0.425 0 8/11/2025
3.0.424 9 8/11/2025
3.0.423 168 8/5/2025
3.0.422 86 7/29/2025
3.0.421 140 7/9/2025
3.0.420 62 6/28/2025
3.0.419 67 6/27/2025
3.0.418 77 6/27/2025
3.0.417 73 6/27/2025
3.0.416 136 6/24/2025
3.0.415 284 6/11/2025
3.0.414 277 6/10/2025
3.0.413 146 6/2/2025
3.0.412 151 5/27/2025
3.0.411 143 5/27/2025
3.0.410 146 5/27/2025
3.0.409 107 5/25/2025
3.0.408 126 5/23/2025
3.0.407 132 5/23/2025
3.0.406 139 5/22/2025
3.0.405 229 5/14/2025
3.0.404 139 5/8/2025
3.0.403 144 5/8/2025
3.0.402 141 5/8/2025
3.0.401 144 5/7/2025
3.0.400 136 5/5/2025
3.0.399 149 5/5/2025
3.0.398 139 5/5/2025
3.0.397 139 5/5/2025
3.0.396 139 5/5/2025
3.0.395 140 5/5/2025
3.0.394 141 5/5/2025
3.0.393 97 4/27/2025
3.0.392 78 4/26/2025
3.0.391 161 4/9/2025
3.0.390 162 4/8/2025
3.0.389 157 4/8/2025
3.0.388 164 4/8/2025
3.0.387 177 4/8/2025
3.0.386 152 4/8/2025
3.0.385 139 4/8/2025
3.0.384 143 4/8/2025
3.0.383 146 4/8/2025
3.0.382 147 4/8/2025
3.0.381 150 4/8/2025
3.0.380 152 4/7/2025
3.0.379 151 4/7/2025
3.0.378 143 4/7/2025
3.0.377 150 4/7/2025
3.0.376 155 4/7/2025
3.0.375 158 4/6/2025
3.0.374 148 4/6/2025
3.0.373 122 4/6/2025
3.0.372 122 4/6/2025
3.0.371 122 4/6/2025
3.0.370 101 4/6/2025
3.0.369 106 4/6/2025
3.0.368 98 4/5/2025
3.0.367 77 4/5/2025
3.0.366 82 4/5/2025
3.0.365 81 4/5/2025
3.0.364 84 4/5/2025
3.0.363 76 4/5/2025
3.0.362 91 4/5/2025
3.0.361 145 4/4/2025
3.0.360 145 4/1/2025
3.0.359 161 3/31/2025
3.0.358 153 3/31/2025
3.0.357 87 3/29/2025
3.0.356 476 3/25/2025
3.0.355 470 3/25/2025
3.0.354 120 3/21/2025
3.0.353 145 3/21/2025
3.0.352 148 3/18/2025
3.0.351 145 3/18/2025
3.0.350 75 3/15/2025
3.0.349 75 3/15/2025
3.0.348 154 3/12/2025
3.0.347 162 3/12/2025
3.0.346 158 3/11/2025
3.0.345 155 3/11/2025
3.0.344 169 3/11/2025
3.0.343 164 3/11/2025
3.0.342 175 3/11/2025
3.0.341 151 3/11/2025
3.0.340 164 3/11/2025
3.0.339 157 3/11/2025
3.0.338 218 3/7/2025
3.0.337 229 3/7/2025
3.0.336 123 3/2/2025
3.0.335 98 3/2/2025
3.0.334 94 3/2/2025
3.0.333 93 3/2/2025
3.0.332 99 3/2/2025
3.0.331 100 3/2/2025
3.0.330 114 3/1/2025
3.0.329 97 3/1/2025
3.0.328 96 3/1/2025
3.0.327 97 3/1/2025
3.0.326 99 3/1/2025
3.0.325 100 3/1/2025
3.0.324 107 3/1/2025
3.0.323 94 3/1/2025
3.0.322 98 3/1/2025
3.0.321 99 3/1/2025
3.0.320 91 3/1/2025
3.0.319 109 2/25/2025
3.0.318 114 2/25/2025
3.0.317 95 2/25/2025
3.0.316 95 2/24/2025
3.0.315 100 2/24/2025
3.0.314 128 2/23/2025
3.0.313 110 2/23/2025
3.0.312 104 2/22/2025
3.0.311 101 2/22/2025
3.0.310 101 2/22/2025
3.0.309 96 2/22/2025
3.0.308 101 2/21/2025
3.0.307 100 2/21/2025
3.0.306 109 2/21/2025
3.0.305 104 2/19/2025
3.0.304 105 2/19/2025
3.0.303 105 2/19/2025
3.0.302 115 2/18/2025
3.0.301 108 2/18/2025
3.0.300 112 2/18/2025
3.0.299 109 2/18/2025
3.0.298 118 2/18/2025
3.0.297 98 2/18/2025
3.0.296 106 2/14/2025
3.0.295 112 2/14/2025
3.0.294 113 2/13/2025
3.0.293 109 2/13/2025
3.0.292 106 2/12/2025
3.0.291 121 2/12/2025
3.0.290 112 2/12/2025
3.0.289 118 2/12/2025
3.0.288 114 2/12/2025
3.0.287 111 2/11/2025
3.0.286 104 2/11/2025
3.0.285 115 2/11/2025
3.0.284 110 2/11/2025
3.0.283 105 2/11/2025
3.0.282 109 2/11/2025
3.0.281 103 2/11/2025
3.0.280 118 2/11/2025
3.0.279 116 2/11/2025
3.0.278 102 2/11/2025
3.0.277 104 2/11/2025
3.0.276 95 2/11/2025
3.0.275 108 2/10/2025
3.0.274 109 2/10/2025
3.0.273 111 2/10/2025
3.0.272 120 2/10/2025
3.0.271 116 2/10/2025
3.0.270 112 2/10/2025
3.0.269 112 2/10/2025
3.0.268 111 2/9/2025
3.0.267 101 2/9/2025
3.0.266 108 2/8/2025
3.0.265 99 2/8/2025
3.0.264 100 2/8/2025
3.0.263 110 2/8/2025
3.0.262 95 2/8/2025
3.0.261 103 2/8/2025
3.0.260 102 2/8/2025
3.0.259 104 2/7/2025
3.0.258 99 2/7/2025
3.0.257 102 2/7/2025
3.0.256 102 2/7/2025
3.0.255 112 2/7/2025
3.0.253 98 2/7/2025
3.0.252 92 2/7/2025
3.0.251 97 2/7/2025
3.0.250 95 2/7/2025
3.0.249 99 2/6/2025
3.0.248 107 2/5/2025
3.0.247 112 2/5/2025
3.0.246 109 2/5/2025
3.0.245 108 2/5/2025
3.0.244 106 2/5/2025
3.0.243 104 2/5/2025
3.0.242 101 2/5/2025
3.0.241 121 1/28/2025
3.0.240 95 1/28/2025
3.0.239 114 1/28/2025
3.0.238 97 1/27/2025
3.0.237 108 1/27/2025
3.0.236 102 1/27/2025
3.0.235 84 1/27/2025
3.0.234 97 1/27/2025
3.0.233 95 1/27/2025
3.0.232 92 1/27/2025
3.0.231 104 1/27/2025
3.0.230 96 1/27/2025
3.0.229 108 1/26/2025
3.0.228 110 1/26/2025
3.0.227 95 1/26/2025
3.0.226 109 1/25/2025
3.0.225 99 1/25/2025
3.0.224 109 1/25/2025
3.0.223 101 1/25/2025
3.0.222 102 1/25/2025
3.0.221 103 1/25/2025
3.0.220 100 1/25/2025
3.0.219 94 1/25/2025
3.0.218 95 1/24/2025
3.0.217 93 1/24/2025
3.0.216 101 1/24/2025
3.0.215 97 1/24/2025
3.0.214 117 1/24/2025
3.0.213 99 1/24/2025
3.0.212 95 1/24/2025
3.0.211 106 1/24/2025
3.0.210 94 1/23/2025
3.0.209 106 1/23/2025
3.0.208 124 1/23/2025
3.0.207 104 1/21/2025
3.0.206 99 1/21/2025
3.0.205 99 1/21/2025
3.0.204 113 1/21/2025
3.0.203 100 1/21/2025
3.0.202 99 1/21/2025
3.0.201 102 1/21/2025
3.0.200 110 1/21/2025
3.0.199 101 1/21/2025
3.0.198 96 1/21/2025
3.0.197 99 1/20/2025
3.0.196 92 1/20/2025
3.0.195 98 1/20/2025
3.0.194 104 1/20/2025
3.0.193 99 1/20/2025
3.0.192 96 1/20/2025
3.0.191 102 1/20/2025
3.0.190 96 1/20/2025
3.0.189 103 1/20/2025
3.0.188 103 1/20/2025
3.0.187 104 1/20/2025
3.0.186 106 1/20/2025
3.0.185 99 1/20/2025
3.0.184 96 1/20/2025
3.0.183 92 1/19/2025
3.0.182 92 1/19/2025
3.0.181 104 1/19/2025
3.0.180 92 1/19/2025
3.0.179 92 1/19/2025
3.0.178 89 1/18/2025
3.0.177 95 1/18/2025
3.0.176 86 1/18/2025
3.0.175 92 1/17/2025
3.0.174 91 1/17/2025
3.0.173 99 1/17/2025
3.0.172 99 1/17/2025
3.0.171 91 1/17/2025
3.0.170 106 1/17/2025
3.0.169 95 1/16/2025
3.0.168 100 1/16/2025
3.0.167 93 1/16/2025
3.0.166 86 1/16/2025
3.0.165 84 1/16/2025
3.0.164 89 1/16/2025
3.0.163 101 1/16/2025
3.0.162 100 1/16/2025
3.0.161 93 1/16/2025
3.0.160 92 1/16/2025
3.0.159 106 1/15/2025
3.0.158 99 1/15/2025
3.0.157 86 1/15/2025
3.0.156 90 1/15/2025
3.0.155 88 1/15/2025
3.0.154 89 1/15/2025
3.0.153 84 1/15/2025
3.0.152 82 1/15/2025
3.0.151 72 1/15/2025
3.0.150 71 1/15/2025
3.0.149 79 1/15/2025
3.0.148 70 1/15/2025
3.0.147 87 1/14/2025
3.0.146 84 1/14/2025
3.0.145 85 1/14/2025
3.0.144 90 1/14/2025
3.0.143 84 1/14/2025
3.0.142 79 1/14/2025
3.0.141 79 1/14/2025
3.0.140 80 1/14/2025
3.0.139 85 1/13/2025
3.0.138 84 1/13/2025
3.0.137 84 1/13/2025
3.0.136 85 1/13/2025
3.0.135 93 1/12/2025
3.0.134 85 1/12/2025
3.0.133 96 1/11/2025
3.0.132 106 1/11/2025
3.0.131 91 1/11/2025
3.0.130 101 1/10/2025
3.0.129 105 1/10/2025
3.0.128 88 1/10/2025
3.0.127 92 1/10/2025
3.0.126 111 1/10/2025
3.0.125 97 1/10/2025
3.0.124 100 1/10/2025
3.0.123 96 1/10/2025
3.0.122 137 1/3/2025
3.0.121 144 1/3/2025
3.0.120 132 1/3/2025
3.0.119 105 1/3/2025
3.0.118 104 1/3/2025
3.0.117 112 1/2/2025
3.0.116 114 1/2/2025
3.0.115 109 1/2/2025
3.0.114 109 1/2/2025
3.0.113 110 1/2/2025
3.0.112 114 1/2/2025
3.0.111 122 1/1/2025
3.0.110 133 1/1/2025
3.0.109 123 1/1/2025
3.0.108 127 1/1/2025
3.0.107 127 1/1/2025
3.0.106 121 1/1/2025
3.0.105 116 1/1/2025
3.0.104 110 1/1/2025
3.0.103 124 1/1/2025
3.0.102 118 12/31/2024
3.0.101 116 12/31/2024
3.0.100 118 12/31/2024
3.0.99 124 12/31/2024
3.0.98 135 12/31/2024
3.0.97 125 12/31/2024
3.0.96 106 12/31/2024
3.0.95 102 12/31/2024
3.0.94 106 12/31/2024
3.0.93 99 12/31/2024
3.0.92 104 12/31/2024
3.0.91 100 12/31/2024
3.0.90 101 12/31/2024
3.0.89 104 12/31/2024
3.0.88 109 12/30/2024
3.0.87 102 12/28/2024
3.0.86 108 12/28/2024
3.0.85 116 12/27/2024
3.0.84 114 12/27/2024
3.0.83 109 12/24/2024
3.0.82 103 12/24/2024
3.0.81 105 12/24/2024
3.0.80 107 12/24/2024
3.0.79 102 12/24/2024
3.0.78 103 12/24/2024
3.0.77 101 12/24/2024
3.0.76 97 12/24/2024
3.0.75 117 12/24/2024
3.0.74 98 12/24/2024
3.0.73 99 12/24/2024
3.0.72 102 12/24/2024
3.0.71 106 12/23/2024
3.0.70 124 12/23/2024
3.0.69 101 12/23/2024
3.0.68 120 12/23/2024
3.0.67 102 12/23/2024
3.0.66 113 12/23/2024
3.0.65 110 12/22/2024
3.0.64 99 12/22/2024
3.0.63 108 12/22/2024
3.0.62 119 12/22/2024
3.0.61 105 12/22/2024
3.0.60 104 12/22/2024
3.0.59 107 12/22/2024
3.0.58 109 12/21/2024
3.0.57 102 12/21/2024
3.0.56 112 12/21/2024
3.0.55 118 12/21/2024
3.0.54 103 12/21/2024
3.0.53 101 12/21/2024
3.0.52 106 12/21/2024
3.0.51 107 12/21/2024
3.0.50 120 12/21/2024
3.0.49 117 12/21/2024
3.0.48 107 12/21/2024
3.0.47 109 12/21/2024
3.0.46 110 12/21/2024
3.0.45 108 12/20/2024
3.0.44 101 12/20/2024
3.0.43 120 12/20/2024
3.0.42 109 12/20/2024
3.0.41 110 12/20/2024
3.0.40 102 12/20/2024
3.0.39 110 12/20/2024
3.0.38 107 12/19/2024
3.0.37 103 12/19/2024
3.0.36 98 12/19/2024
3.0.35 99 12/19/2024
3.0.34 105 12/19/2024
3.0.33 110 12/19/2024
3.0.32 100 12/19/2024
3.0.31 120 12/18/2024
3.0.30 102 12/18/2024
3.0.29 113 12/18/2024
3.0.28 105 12/17/2024
3.0.27 103 12/17/2024
3.0.26 114 12/17/2024
3.0.25 106 12/17/2024
3.0.24 105 12/10/2024
3.0.23 106 12/10/2024
3.0.22 107 12/10/2024
3.0.21 104 12/9/2024
3.0.20 111 12/9/2024
3.0.19 112 12/9/2024
3.0.18 110 12/9/2024
3.0.17 111 12/9/2024
3.0.16 110 12/7/2024
3.0.15 115 12/6/2024
3.0.14 108 12/6/2024
3.0.13 102 12/6/2024
3.0.12 106 12/6/2024
3.0.11 123 12/6/2024
3.0.10 119 12/6/2024
3.0.9 109 12/6/2024
3.0.7 114 12/6/2024
3.0.6 107 12/6/2024
3.0.5 107 12/5/2024
3.0.4 112 12/5/2024
3.0.3 114 12/5/2024
3.0.2 116 12/4/2024
3.0.1 116 12/4/2024