Soenneker.Utils.Strings.DiceCoefficient 3.0.303

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.303
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.303
                    
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.303" />
                    
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.303" />
                    
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.303
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.303"
                    
#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.303
                    
Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.303
                    
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.412 112 5/27/2025
3.0.411 122 5/27/2025
3.0.410 133 5/27/2025
3.0.409 82 5/25/2025
3.0.408 112 5/23/2025
3.0.407 118 5/23/2025
3.0.406 124 5/22/2025
3.0.405 213 5/14/2025
3.0.404 127 5/8/2025
3.0.403 133 5/8/2025
3.0.402 130 5/8/2025
3.0.401 128 5/7/2025
3.0.400 124 5/5/2025
3.0.399 128 5/5/2025
3.0.398 128 5/5/2025
3.0.397 126 5/5/2025
3.0.396 125 5/5/2025
3.0.395 128 5/5/2025
3.0.394 129 5/5/2025
3.0.393 86 4/27/2025
3.0.392 67 4/26/2025
3.0.391 151 4/9/2025
3.0.390 144 4/8/2025
3.0.389 145 4/8/2025
3.0.388 150 4/8/2025
3.0.387 159 4/8/2025
3.0.386 138 4/8/2025
3.0.385 129 4/8/2025
3.0.384 133 4/8/2025
3.0.383 134 4/8/2025
3.0.382 135 4/8/2025
3.0.381 136 4/8/2025
3.0.380 142 4/7/2025
3.0.379 137 4/7/2025
3.0.378 129 4/7/2025
3.0.377 136 4/7/2025
3.0.376 142 4/7/2025
3.0.375 136 4/6/2025
3.0.374 138 4/6/2025
3.0.373 113 4/6/2025
3.0.372 108 4/6/2025
3.0.371 111 4/6/2025
3.0.370 84 4/6/2025
3.0.369 90 4/6/2025
3.0.368 88 4/5/2025
3.0.367 63 4/5/2025
3.0.366 71 4/5/2025
3.0.365 68 4/5/2025
3.0.364 70 4/5/2025
3.0.363 65 4/5/2025
3.0.362 80 4/5/2025
3.0.361 134 4/4/2025
3.0.360 132 4/1/2025
3.0.359 139 3/31/2025
3.0.358 140 3/31/2025
3.0.357 78 3/29/2025
3.0.356 459 3/25/2025
3.0.355 461 3/25/2025
3.0.354 107 3/21/2025
3.0.353 125 3/21/2025
3.0.352 133 3/18/2025
3.0.351 134 3/18/2025
3.0.350 65 3/15/2025
3.0.349 67 3/15/2025
3.0.348 140 3/12/2025
3.0.347 150 3/12/2025
3.0.346 146 3/11/2025
3.0.345 142 3/11/2025
3.0.344 157 3/11/2025
3.0.343 147 3/11/2025
3.0.342 153 3/11/2025
3.0.341 142 3/11/2025
3.0.340 154 3/11/2025
3.0.339 147 3/11/2025
3.0.338 199 3/7/2025
3.0.337 200 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 97 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 106 2/23/2025
3.0.313 94 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 86 2/22/2025
3.0.308 90 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 99 2/18/2025
3.0.298 96 2/18/2025
3.0.297 90 2/18/2025
3.0.296 95 2/14/2025
3.0.295 94 2/14/2025
3.0.294 99 2/13/2025
3.0.293 94 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 109 2/12/2025
3.0.288 106 2/12/2025
3.0.287 100 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 100 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 93 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 90 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 94 2/5/2025
3.0.247 103 2/5/2025
3.0.246 94 2/5/2025
3.0.245 92 2/5/2025
3.0.244 92 2/5/2025
3.0.243 96 2/5/2025
3.0.242 94 2/5/2025
3.0.241 104 1/28/2025
3.0.240 83 1/28/2025
3.0.239 98 1/28/2025
3.0.238 83 1/27/2025
3.0.237 93 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 83 1/24/2025
3.0.217 84 1/24/2025
3.0.216 80 1/24/2025
3.0.215 88 1/24/2025
3.0.214 97 1/24/2025
3.0.213 87 1/24/2025
3.0.212 86 1/24/2025
3.0.211 94 1/24/2025
3.0.210 86 1/23/2025
3.0.209 91 1/23/2025
3.0.208 113 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 92 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 83 1/20/2025
3.0.195 89 1/20/2025
3.0.194 92 1/20/2025
3.0.193 87 1/20/2025
3.0.192 82 1/20/2025
3.0.191 90 1/20/2025
3.0.190 85 1/20/2025
3.0.189 92 1/20/2025
3.0.188 95 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 75 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 86 1/17/2025
3.0.171 80 1/17/2025
3.0.170 84 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 75 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 67 1/15/2025
3.0.152 63 1/15/2025
3.0.151 61 1/15/2025
3.0.150 58 1/15/2025
3.0.149 59 1/15/2025
3.0.148 59 1/15/2025
3.0.147 77 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 87 1/10/2025
3.0.128 74 1/10/2025
3.0.127 76 1/10/2025
3.0.126 98 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 101 1/2/2025
3.0.115 101 1/2/2025
3.0.114 102 1/2/2025
3.0.113 102 1/2/2025
3.0.112 104 1/2/2025
3.0.111 110 1/1/2025
3.0.110 115 1/1/2025
3.0.109 110 1/1/2025
3.0.108 111 1/1/2025
3.0.107 110 1/1/2025
3.0.106 106 1/1/2025
3.0.105 101 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 89 12/31/2024
3.0.95 86 12/31/2024
3.0.94 95 12/31/2024
3.0.93 90 12/31/2024
3.0.92 92 12/31/2024
3.0.91 91 12/31/2024
3.0.90 91 12/31/2024
3.0.89 93 12/31/2024
3.0.88 91 12/30/2024
3.0.87 88 12/28/2024
3.0.86 93 12/28/2024
3.0.85 97 12/27/2024
3.0.84 105 12/27/2024
3.0.83 93 12/24/2024
3.0.82 91 12/24/2024
3.0.81 96 12/24/2024
3.0.80 99 12/24/2024
3.0.79 90 12/24/2024
3.0.78 87 12/24/2024
3.0.77 92 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 89 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 91 12/22/2024
3.0.63 97 12/22/2024
3.0.62 98 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 96 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 89 12/20/2024
3.0.43 108 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 106 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 90 12/17/2024
3.0.26 97 12/17/2024
3.0.25 91 12/17/2024
3.0.24 93 12/10/2024
3.0.23 96 12/10/2024
3.0.22 93 12/10/2024
3.0.21 94 12/9/2024
3.0.20 99 12/9/2024
3.0.19 95 12/9/2024
3.0.18 95 12/9/2024
3.0.17 101 12/9/2024
3.0.16 98 12/7/2024
3.0.15 105 12/6/2024
3.0.14 97 12/6/2024
3.0.13 95 12/6/2024
3.0.12 96 12/6/2024
3.0.11 112 12/6/2024
3.0.10 107 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