Soenneker.Utils.Strings.DiceCoefficient 3.0.397

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