Soenneker.Utils.Strings.DiceCoefficient 3.0.423

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