Soenneker.Utils.Strings.DiceCoefficient 3.0.402

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.402
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.402
                    
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.402" />
                    
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.402" />
                    
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.402
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.402"
                    
#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.402
                    
#: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.402
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.402
                    
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 133 7/9/2025
3.0.420 58 6/28/2025
3.0.419 63 6/27/2025
3.0.418 73 6/27/2025
3.0.417 69 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 143 6/2/2025
3.0.412 146 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 123 5/23/2025
3.0.407 129 5/23/2025
3.0.406 136 5/22/2025
3.0.405 228 5/14/2025
3.0.404 137 5/8/2025
3.0.403 142 5/8/2025
3.0.402 140 5/8/2025
3.0.401 142 5/7/2025
3.0.400 134 5/5/2025
3.0.399 146 5/5/2025
3.0.398 137 5/5/2025
3.0.397 138 5/5/2025
3.0.396 137 5/5/2025
3.0.395 138 5/5/2025
3.0.394 140 5/5/2025
3.0.393 96 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 142 4/8/2025
3.0.383 144 4/8/2025
3.0.382 146 4/8/2025
3.0.381 147 4/8/2025
3.0.380 151 4/7/2025
3.0.379 149 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 74 4/5/2025
3.0.366 80 4/5/2025
3.0.365 78 4/5/2025
3.0.364 82 4/5/2025
3.0.363 75 4/5/2025
3.0.362 88 4/5/2025
3.0.361 143 4/4/2025
3.0.360 143 4/1/2025
3.0.359 159 3/31/2025
3.0.358 151 3/31/2025
3.0.357 85 3/29/2025
3.0.356 473 3/25/2025
3.0.355 468 3/25/2025
3.0.354 119 3/21/2025
3.0.353 142 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 151 3/12/2025
3.0.347 160 3/12/2025
3.0.346 155 3/11/2025
3.0.345 153 3/11/2025
3.0.344 168 3/11/2025
3.0.343 158 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 121 3/2/2025
3.0.335 94 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 113 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 93 2/24/2025
3.0.315 99 2/24/2025
3.0.314 125 2/23/2025
3.0.313 106 2/23/2025
3.0.312 102 2/22/2025
3.0.311 100 2/22/2025
3.0.310 99 2/22/2025
3.0.309 94 2/22/2025
3.0.308 100 2/21/2025
3.0.307 99 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 103 2/19/2025
3.0.302 111 2/18/2025
3.0.301 106 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 102 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 110 2/11/2025
3.0.286 103 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 117 2/11/2025
3.0.279 112 2/11/2025
3.0.278 101 2/11/2025
3.0.277 102 2/11/2025
3.0.276 93 2/11/2025
3.0.275 106 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 115 2/10/2025
3.0.270 110 2/10/2025
3.0.269 110 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 108 2/8/2025
3.0.262 93 2/8/2025
3.0.261 101 2/8/2025
3.0.260 100 2/8/2025
3.0.259 100 2/7/2025
3.0.258 98 2/7/2025
3.0.257 101 2/7/2025
3.0.256 101 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 105 2/5/2025
3.0.247 110 2/5/2025
3.0.246 108 2/5/2025
3.0.245 104 2/5/2025
3.0.244 102 2/5/2025
3.0.243 102 2/5/2025
3.0.242 100 2/5/2025
3.0.241 119 1/28/2025
3.0.240 93 1/28/2025
3.0.239 112 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 94 1/27/2025
3.0.232 91 1/27/2025
3.0.231 102 1/27/2025
3.0.230 95 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 108 1/25/2025
3.0.223 99 1/25/2025
3.0.222 100 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 96 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 93 1/24/2025
3.0.211 104 1/24/2025
3.0.210 93 1/23/2025
3.0.209 105 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 101 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 102 1/20/2025
3.0.188 102 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 90 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 95 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 92 1/16/2025
3.0.160 90 1/16/2025
3.0.159 101 1/15/2025
3.0.158 96 1/15/2025
3.0.157 84 1/15/2025
3.0.156 89 1/15/2025
3.0.155 85 1/15/2025
3.0.154 87 1/15/2025
3.0.153 82 1/15/2025
3.0.152 79 1/15/2025
3.0.151 70 1/15/2025
3.0.150 68 1/15/2025
3.0.149 76 1/15/2025
3.0.148 68 1/15/2025
3.0.147 86 1/14/2025
3.0.146 81 1/14/2025
3.0.145 82 1/14/2025
3.0.144 88 1/14/2025
3.0.143 82 1/14/2025
3.0.142 77 1/14/2025
3.0.141 77 1/14/2025
3.0.140 79 1/14/2025
3.0.139 83 1/13/2025
3.0.138 83 1/13/2025
3.0.137 82 1/13/2025
3.0.136 83 1/13/2025
3.0.135 91 1/12/2025
3.0.134 83 1/12/2025
3.0.133 95 1/11/2025
3.0.132 105 1/11/2025
3.0.131 89 1/11/2025
3.0.130 99 1/10/2025
3.0.129 103 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 136 1/3/2025
3.0.121 141 1/3/2025
3.0.120 130 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 120 1/1/2025
3.0.110 131 1/1/2025
3.0.109 121 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 123 12/31/2024
3.0.98 131 12/31/2024
3.0.97 124 12/31/2024
3.0.96 104 12/31/2024
3.0.95 100 12/31/2024
3.0.94 105 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 106 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 105 12/24/2024
3.0.79 100 12/24/2024
3.0.78 101 12/24/2024
3.0.77 100 12/24/2024
3.0.76 95 12/24/2024
3.0.75 115 12/24/2024
3.0.74 96 12/24/2024
3.0.73 98 12/24/2024
3.0.72 101 12/24/2024
3.0.71 104 12/23/2024
3.0.70 121 12/23/2024
3.0.69 99 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 97 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 104 12/17/2024
3.0.27 101 12/17/2024
3.0.26 111 12/17/2024
3.0.25 104 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 110 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 109 12/7/2024
3.0.15 114 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 117 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