Soenneker.Utils.Strings.DiceCoefficient 3.0.411

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