Soenneker.Utils.Strings.DiceCoefficient 3.0.426

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.426
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.426
                    
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.426" />
                    
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.426" />
                    
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.426
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.426"
                    
#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.426
                    
#: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.426
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.426
                    
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.429 15 8/16/2025
3.0.428 91 8/11/2025
3.0.427 85 8/11/2025
3.0.426 87 8/11/2025
3.0.425 87 8/11/2025
3.0.424 87 8/11/2025
3.0.423 194 8/5/2025
3.0.422 104 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 278 6/10/2025
3.0.413 146 6/2/2025
3.0.412 152 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 127 5/23/2025
3.0.407 133 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 145 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 98 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 165 4/8/2025
3.0.387 178 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 144 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 123 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 107 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 82 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 76 3/15/2025
3.0.349 75 3/15/2025
3.0.348 155 3/12/2025
3.0.347 163 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 219 3/7/2025
3.0.337 229 3/7/2025
3.0.336 123 3/2/2025
3.0.335 99 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 98 3/1/2025
3.0.328 97 3/1/2025
3.0.327 98 3/1/2025
3.0.326 101 3/1/2025
3.0.325 100 3/1/2025
3.0.324 108 3/1/2025
3.0.323 95 3/1/2025
3.0.322 100 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 96 2/24/2025
3.0.315 100 2/24/2025
3.0.314 128 2/23/2025
3.0.313 111 2/23/2025
3.0.312 105 2/22/2025
3.0.311 102 2/22/2025
3.0.310 101 2/22/2025
3.0.309 96 2/22/2025
3.0.308 103 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 116 2/18/2025
3.0.301 109 2/18/2025
3.0.300 112 2/18/2025
3.0.299 110 2/18/2025
3.0.298 119 2/18/2025
3.0.297 98 2/18/2025
3.0.296 107 2/14/2025
3.0.295 112 2/14/2025
3.0.294 113 2/13/2025
3.0.293 110 2/13/2025
3.0.292 107 2/12/2025
3.0.291 122 2/12/2025
3.0.290 113 2/12/2025
3.0.289 118 2/12/2025
3.0.288 115 2/12/2025
3.0.287 111 2/11/2025
3.0.286 105 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 110 2/11/2025
3.0.281 104 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 110 2/10/2025
3.0.273 112 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 102 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 105 2/7/2025
3.0.258 100 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 93 2/7/2025
3.0.251 97 2/7/2025
3.0.250 96 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 109 2/5/2025
3.0.244 106 2/5/2025
3.0.243 105 2/5/2025
3.0.242 102 2/5/2025
3.0.241 122 1/28/2025
3.0.240 95 1/28/2025
3.0.239 114 1/28/2025
3.0.238 98 1/27/2025
3.0.237 108 1/27/2025
3.0.236 103 1/27/2025
3.0.235 85 1/27/2025
3.0.234 98 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 109 1/26/2025
3.0.228 110 1/26/2025
3.0.227 96 1/26/2025
3.0.226 109 1/25/2025
3.0.225 99 1/25/2025
3.0.224 110 1/25/2025
3.0.223 101 1/25/2025
3.0.222 103 1/25/2025
3.0.221 103 1/25/2025
3.0.220 103 1/25/2025
3.0.219 94 1/25/2025
3.0.218 95 1/24/2025
3.0.217 94 1/24/2025
3.0.216 102 1/24/2025
3.0.215 98 1/24/2025
3.0.214 117 1/24/2025
3.0.213 99 1/24/2025
3.0.212 96 1/24/2025
3.0.211 112 1/24/2025
3.0.210 95 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 100 1/21/2025
3.0.205 99 1/21/2025
3.0.204 115 1/21/2025
3.0.203 102 1/21/2025
3.0.202 100 1/21/2025
3.0.201 102 1/21/2025
3.0.200 111 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 98 1/20/2025
3.0.191 104 1/20/2025
3.0.190 98 1/20/2025
3.0.189 104 1/20/2025
3.0.188 103 1/20/2025
3.0.187 105 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 93 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 96 1/18/2025
3.0.176 86 1/18/2025
3.0.175 93 1/17/2025
3.0.174 93 1/17/2025
3.0.173 100 1/17/2025
3.0.172 99 1/17/2025
3.0.171 92 1/17/2025
3.0.170 107 1/17/2025
3.0.169 96 1/16/2025
3.0.168 101 1/16/2025
3.0.167 93 1/16/2025
3.0.166 86 1/16/2025
3.0.165 85 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 91 1/15/2025
3.0.155 88 1/15/2025
3.0.154 89 1/15/2025
3.0.153 85 1/15/2025
3.0.152 83 1/15/2025
3.0.151 73 1/15/2025
3.0.150 71 1/15/2025
3.0.149 79 1/15/2025
3.0.148 71 1/15/2025
3.0.147 88 1/14/2025
3.0.146 84 1/14/2025
3.0.145 86 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 80 1/14/2025
3.0.140 80 1/14/2025
3.0.139 86 1/13/2025
3.0.138 85 1/13/2025
3.0.137 85 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 107 1/11/2025
3.0.131 92 1/11/2025
3.0.130 102 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 146 1/3/2025
3.0.120 132 1/3/2025
3.0.119 107 1/3/2025
3.0.118 104 1/3/2025
3.0.117 113 1/2/2025
3.0.116 115 1/2/2025
3.0.115 111 1/2/2025
3.0.114 111 1/2/2025
3.0.113 112 1/2/2025
3.0.112 115 1/2/2025
3.0.111 123 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 117 1/1/2025
3.0.104 110 1/1/2025
3.0.103 124 1/1/2025
3.0.102 119 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 103 12/31/2024
3.0.94 106 12/31/2024
3.0.93 99 12/31/2024
3.0.92 106 12/31/2024
3.0.91 101 12/31/2024
3.0.90 101 12/31/2024
3.0.89 105 12/31/2024
3.0.88 109 12/30/2024
3.0.87 102 12/28/2024
3.0.86 109 12/28/2024
3.0.85 117 12/27/2024
3.0.84 114 12/27/2024
3.0.83 109 12/24/2024
3.0.82 104 12/24/2024
3.0.81 106 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 98 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 107 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 114 12/23/2024
3.0.65 111 12/22/2024
3.0.64 101 12/22/2024
3.0.63 109 12/22/2024
3.0.62 119 12/22/2024
3.0.61 105 12/22/2024
3.0.60 105 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 119 12/21/2024
3.0.54 104 12/21/2024
3.0.53 102 12/21/2024
3.0.52 107 12/21/2024
3.0.51 108 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 103 12/20/2024
3.0.39 110 12/20/2024
3.0.38 108 12/19/2024
3.0.37 103 12/19/2024
3.0.36 98 12/19/2024
3.0.35 100 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 121 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 116 12/17/2024
3.0.25 107 12/17/2024
3.0.24 106 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 111 12/7/2024
3.0.15 115 12/6/2024
3.0.14 109 12/6/2024
3.0.13 102 12/6/2024
3.0.12 106 12/6/2024
3.0.11 124 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 117 12/4/2024