Soenneker.Utils.Strings.DiceCoefficient 3.0.314

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.314
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.314
                    
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.314" />
                    
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.314" />
                    
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.314
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.314"
                    
#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.314
                    
#: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.314
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.314
                    
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.433 0 9/9/2025
3.0.432 132 9/3/2025
3.0.431 126 9/3/2025
3.0.430 129 9/3/2025
3.0.429 107 8/16/2025
3.0.428 131 8/11/2025
3.0.427 126 8/11/2025
3.0.426 126 8/11/2025
3.0.425 128 8/11/2025
3.0.424 126 8/11/2025
3.0.423 203 8/5/2025
3.0.422 110 7/29/2025
3.0.421 147 7/9/2025
3.0.420 67 6/28/2025
3.0.419 72 6/27/2025
3.0.418 82 6/27/2025
3.0.417 78 6/27/2025
3.0.416 141 6/24/2025
3.0.415 289 6/11/2025
3.0.414 282 6/10/2025
3.0.413 152 6/2/2025
3.0.412 160 5/27/2025
3.0.411 147 5/27/2025
3.0.410 150 5/27/2025
3.0.409 114 5/25/2025
3.0.408 132 5/23/2025
3.0.407 137 5/23/2025
3.0.406 143 5/22/2025
3.0.405 234 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 154 5/7/2025
3.0.400 140 5/5/2025
3.0.399 156 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 162 4/8/2025
3.0.388 169 4/8/2025
3.0.387 184 4/8/2025
3.0.386 158 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 152 4/8/2025
3.0.381 157 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 164 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 106 4/6/2025
3.0.369 113 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 81 4/5/2025
3.0.362 95 4/5/2025
3.0.361 150 4/4/2025
3.0.360 149 4/1/2025
3.0.359 166 3/31/2025
3.0.358 157 3/31/2025
3.0.357 92 3/29/2025
3.0.356 481 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 150 3/18/2025
3.0.350 81 3/15/2025
3.0.349 79 3/15/2025
3.0.348 159 3/12/2025
3.0.347 169 3/12/2025
3.0.346 163 3/11/2025
3.0.345 161 3/11/2025
3.0.344 173 3/11/2025
3.0.343 171 3/11/2025
3.0.342 180 3/11/2025
3.0.341 155 3/11/2025
3.0.340 169 3/11/2025
3.0.339 163 3/11/2025
3.0.338 225 3/7/2025
3.0.337 235 3/7/2025
3.0.336 127 3/2/2025
3.0.335 105 3/2/2025
3.0.334 98 3/2/2025
3.0.333 98 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 103 3/1/2025
3.0.326 108 3/1/2025
3.0.325 104 3/1/2025
3.0.324 112 3/1/2025
3.0.323 100 3/1/2025
3.0.322 104 3/1/2025
3.0.321 104 3/1/2025
3.0.320 95 3/1/2025
3.0.319 113 2/25/2025
3.0.318 119 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 133 2/23/2025
3.0.313 120 2/23/2025
3.0.312 109 2/22/2025
3.0.311 106 2/22/2025
3.0.310 106 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 109 2/19/2025
3.0.304 109 2/19/2025
3.0.303 109 2/19/2025
3.0.302 122 2/18/2025
3.0.301 116 2/18/2025
3.0.300 117 2/18/2025
3.0.299 114 2/18/2025
3.0.298 127 2/18/2025
3.0.297 103 2/18/2025
3.0.296 111 2/14/2025
3.0.295 118 2/14/2025
3.0.294 117 2/13/2025
3.0.293 117 2/13/2025
3.0.292 114 2/12/2025
3.0.291 126 2/12/2025
3.0.290 118 2/12/2025
3.0.289 123 2/12/2025
3.0.288 120 2/12/2025
3.0.287 115 2/11/2025
3.0.286 110 2/11/2025
3.0.285 122 2/11/2025
3.0.284 116 2/11/2025
3.0.283 108 2/11/2025
3.0.282 116 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 115 2/10/2025
3.0.274 114 2/10/2025
3.0.273 116 2/10/2025
3.0.272 126 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 114 2/8/2025
3.0.265 106 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 118 2/7/2025
3.0.253 103 2/7/2025
3.0.252 98 2/7/2025
3.0.251 102 2/7/2025
3.0.250 101 2/7/2025
3.0.249 105 2/6/2025
3.0.248 110 2/5/2025
3.0.247 115 2/5/2025
3.0.246 115 2/5/2025
3.0.245 114 2/5/2025
3.0.244 111 2/5/2025
3.0.243 108 2/5/2025
3.0.242 105 2/5/2025
3.0.241 127 1/28/2025
3.0.240 98 1/28/2025
3.0.239 117 1/28/2025
3.0.238 105 1/27/2025
3.0.237 112 1/27/2025
3.0.236 108 1/27/2025
3.0.235 88 1/27/2025
3.0.234 101 1/27/2025
3.0.233 99 1/27/2025
3.0.232 96 1/27/2025
3.0.231 108 1/27/2025
3.0.230 99 1/27/2025
3.0.229 113 1/26/2025
3.0.228 114 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 114 1/25/2025
3.0.223 106 1/25/2025
3.0.222 107 1/25/2025
3.0.221 106 1/25/2025
3.0.220 113 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 122 1/24/2025
3.0.213 102 1/24/2025
3.0.212 104 1/24/2025
3.0.211 117 1/24/2025
3.0.210 98 1/23/2025
3.0.209 111 1/23/2025
3.0.208 128 1/23/2025
3.0.207 110 1/21/2025
3.0.206 103 1/21/2025
3.0.205 102 1/21/2025
3.0.204 121 1/21/2025
3.0.203 105 1/21/2025
3.0.202 104 1/21/2025
3.0.201 105 1/21/2025
3.0.200 115 1/21/2025
3.0.199 104 1/21/2025
3.0.198 100 1/21/2025
3.0.197 103 1/20/2025
3.0.196 95 1/20/2025
3.0.195 101 1/20/2025
3.0.194 110 1/20/2025
3.0.193 103 1/20/2025
3.0.192 104 1/20/2025
3.0.191 108 1/20/2025
3.0.190 101 1/20/2025
3.0.189 107 1/20/2025
3.0.188 107 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 97 1/19/2025
3.0.181 107 1/19/2025
3.0.180 96 1/19/2025
3.0.179 95 1/19/2025
3.0.178 93 1/18/2025
3.0.177 99 1/18/2025
3.0.176 91 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 104 1/17/2025
3.0.171 95 1/17/2025
3.0.170 111 1/17/2025
3.0.169 102 1/16/2025
3.0.168 107 1/16/2025
3.0.167 98 1/16/2025
3.0.166 90 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 105 1/16/2025
3.0.161 97 1/16/2025
3.0.160 101 1/16/2025
3.0.159 113 1/15/2025
3.0.158 106 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 93 1/15/2025
3.0.153 88 1/15/2025
3.0.152 88 1/15/2025
3.0.151 76 1/15/2025
3.0.150 82 1/15/2025
3.0.149 85 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 88 1/14/2025
3.0.142 89 1/14/2025
3.0.141 84 1/14/2025
3.0.140 85 1/14/2025
3.0.139 90 1/13/2025
3.0.138 88 1/13/2025
3.0.137 91 1/13/2025
3.0.136 88 1/13/2025
3.0.135 98 1/12/2025
3.0.134 89 1/12/2025
3.0.133 99 1/11/2025
3.0.132 111 1/11/2025
3.0.131 95 1/11/2025
3.0.130 106 1/10/2025
3.0.129 110 1/10/2025
3.0.128 91 1/10/2025
3.0.127 96 1/10/2025
3.0.126 114 1/10/2025
3.0.125 100 1/10/2025
3.0.124 104 1/10/2025
3.0.123 100 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 119 1/2/2025
3.0.116 118 1/2/2025
3.0.115 115 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 137 1/1/2025
3.0.109 126 1/1/2025
3.0.108 131 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 123 12/31/2024
3.0.101 121 12/31/2024
3.0.100 121 12/31/2024
3.0.99 127 12/31/2024
3.0.98 139 12/31/2024
3.0.97 128 12/31/2024
3.0.96 111 12/31/2024
3.0.95 108 12/31/2024
3.0.94 109 12/31/2024
3.0.93 103 12/31/2024
3.0.92 111 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 113 12/28/2024
3.0.85 122 12/27/2024
3.0.84 117 12/27/2024
3.0.83 114 12/24/2024
3.0.82 109 12/24/2024
3.0.81 109 12/24/2024
3.0.80 110 12/24/2024
3.0.79 107 12/24/2024
3.0.78 109 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 108 12/24/2024
3.0.71 111 12/23/2024
3.0.70 128 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 117 12/22/2024
3.0.62 124 12/22/2024
3.0.61 113 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 112 12/21/2024
3.0.50 125 12/21/2024
3.0.49 125 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 119 12/20/2024
3.0.40 106 12/20/2024
3.0.39 114 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 108 12/17/2024
3.0.27 111 12/17/2024
3.0.26 121 12/17/2024
3.0.25 112 12/17/2024
3.0.24 109 12/10/2024
3.0.23 109 12/10/2024
3.0.22 114 12/10/2024
3.0.21 107 12/9/2024
3.0.20 114 12/9/2024
3.0.19 119 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 106 12/6/2024
3.0.12 111 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 118 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