Soenneker.Utils.Strings.DiceCoefficient 3.0.379

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