Soenneker.Utils.Strings.DiceCoefficient 3.0.103

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.103
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.103
                    
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.103" />
                    
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.103" />
                    
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.103
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.103"
                    
#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.103
                    
Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.103
                    
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 198 3/7/2025
3.0.337 199 3/7/2025
3.0.336 109 3/2/2025
3.0.335 83 3/2/2025
3.0.334 82 3/2/2025
3.0.333 83 3/2/2025
3.0.332 89 3/2/2025
3.0.331 88 3/2/2025
3.0.330 96 3/1/2025
3.0.329 85 3/1/2025
3.0.328 86 3/1/2025
3.0.327 84 3/1/2025
3.0.326 81 3/1/2025
3.0.325 85 3/1/2025
3.0.324 93 3/1/2025
3.0.323 85 3/1/2025
3.0.322 87 3/1/2025
3.0.321 83 3/1/2025
3.0.320 81 3/1/2025
3.0.319 96 2/25/2025
3.0.318 96 2/25/2025
3.0.317 85 2/25/2025
3.0.316 84 2/24/2025
3.0.315 84 2/24/2025
3.0.314 105 2/23/2025
3.0.313 93 2/23/2025
3.0.312 93 2/22/2025
3.0.311 92 2/22/2025
3.0.310 88 2/22/2025
3.0.309 85 2/22/2025
3.0.308 89 2/21/2025
3.0.307 91 2/21/2025
3.0.306 95 2/21/2025
3.0.305 91 2/19/2025
3.0.304 96 2/19/2025
3.0.303 91 2/19/2025
3.0.302 97 2/18/2025
3.0.301 93 2/18/2025
3.0.300 101 2/18/2025
3.0.299 98 2/18/2025
3.0.298 95 2/18/2025
3.0.297 89 2/18/2025
3.0.296 94 2/14/2025
3.0.295 93 2/14/2025
3.0.294 98 2/13/2025
3.0.293 93 2/13/2025
3.0.292 91 2/12/2025
3.0.291 112 2/12/2025
3.0.290 103 2/12/2025
3.0.289 108 2/12/2025
3.0.288 105 2/12/2025
3.0.287 99 2/11/2025
3.0.286 93 2/11/2025
3.0.285 99 2/11/2025
3.0.284 101 2/11/2025
3.0.283 96 2/11/2025
3.0.282 97 2/11/2025
3.0.281 96 2/11/2025
3.0.280 106 2/11/2025
3.0.279 99 2/11/2025
3.0.278 94 2/11/2025
3.0.277 93 2/11/2025
3.0.276 86 2/11/2025
3.0.275 92 2/10/2025
3.0.274 99 2/10/2025
3.0.273 97 2/10/2025
3.0.272 103 2/10/2025
3.0.271 106 2/10/2025
3.0.270 101 2/10/2025
3.0.269 100 2/10/2025
3.0.268 99 2/9/2025
3.0.267 90 2/9/2025
3.0.266 95 2/8/2025
3.0.265 86 2/8/2025
3.0.264 91 2/8/2025
3.0.263 94 2/8/2025
3.0.262 86 2/8/2025
3.0.261 89 2/8/2025
3.0.260 88 2/8/2025
3.0.259 88 2/7/2025
3.0.258 88 2/7/2025
3.0.257 91 2/7/2025
3.0.256 91 2/7/2025
3.0.255 95 2/7/2025
3.0.253 90 2/7/2025
3.0.252 84 2/7/2025
3.0.251 86 2/7/2025
3.0.250 87 2/7/2025
3.0.249 90 2/6/2025
3.0.248 93 2/5/2025
3.0.247 102 2/5/2025
3.0.246 93 2/5/2025
3.0.245 91 2/5/2025
3.0.244 91 2/5/2025
3.0.243 95 2/5/2025
3.0.242 93 2/5/2025
3.0.241 103 1/28/2025
3.0.240 82 1/28/2025
3.0.239 97 1/28/2025
3.0.238 82 1/27/2025
3.0.237 92 1/27/2025
3.0.236 91 1/27/2025
3.0.235 75 1/27/2025
3.0.234 87 1/27/2025
3.0.233 84 1/27/2025
3.0.232 77 1/27/2025
3.0.231 93 1/27/2025
3.0.230 84 1/27/2025
3.0.229 96 1/26/2025
3.0.228 96 1/26/2025
3.0.227 83 1/26/2025
3.0.226 88 1/25/2025
3.0.225 87 1/25/2025
3.0.224 100 1/25/2025
3.0.223 90 1/25/2025
3.0.222 92 1/25/2025
3.0.221 89 1/25/2025
3.0.220 87 1/25/2025
3.0.219 84 1/25/2025
3.0.218 82 1/24/2025
3.0.217 83 1/24/2025
3.0.216 79 1/24/2025
3.0.215 87 1/24/2025
3.0.214 96 1/24/2025
3.0.213 86 1/24/2025
3.0.212 85 1/24/2025
3.0.211 93 1/24/2025
3.0.210 85 1/23/2025
3.0.209 90 1/23/2025
3.0.208 112 1/23/2025
3.0.207 89 1/21/2025
3.0.206 86 1/21/2025
3.0.205 88 1/21/2025
3.0.204 91 1/21/2025
3.0.203 90 1/21/2025
3.0.202 90 1/21/2025
3.0.201 92 1/21/2025
3.0.200 92 1/21/2025
3.0.199 91 1/21/2025
3.0.198 84 1/21/2025
3.0.197 89 1/20/2025
3.0.196 82 1/20/2025
3.0.195 88 1/20/2025
3.0.194 91 1/20/2025
3.0.193 86 1/20/2025
3.0.192 81 1/20/2025
3.0.191 89 1/20/2025
3.0.190 84 1/20/2025
3.0.189 91 1/20/2025
3.0.188 94 1/20/2025
3.0.187 95 1/20/2025
3.0.186 96 1/20/2025
3.0.185 90 1/20/2025
3.0.184 87 1/20/2025
3.0.183 84 1/19/2025
3.0.182 82 1/19/2025
3.0.181 91 1/19/2025
3.0.180 74 1/19/2025
3.0.179 82 1/19/2025
3.0.178 80 1/18/2025
3.0.177 85 1/18/2025
3.0.176 75 1/18/2025
3.0.175 83 1/17/2025
3.0.174 82 1/17/2025
3.0.173 91 1/17/2025
3.0.172 85 1/17/2025
3.0.171 79 1/17/2025
3.0.170 83 1/17/2025
3.0.169 78 1/16/2025
3.0.168 79 1/16/2025
3.0.167 85 1/16/2025
3.0.166 73 1/16/2025
3.0.165 74 1/16/2025
3.0.164 80 1/16/2025
3.0.163 89 1/16/2025
3.0.162 87 1/16/2025
3.0.161 84 1/16/2025
3.0.160 82 1/16/2025
3.0.159 87 1/15/2025
3.0.158 86 1/15/2025
3.0.157 77 1/15/2025
3.0.156 79 1/15/2025
3.0.155 77 1/15/2025
3.0.154 79 1/15/2025
3.0.153 66 1/15/2025
3.0.152 62 1/15/2025
3.0.151 60 1/15/2025
3.0.150 57 1/15/2025
3.0.149 58 1/15/2025
3.0.148 58 1/15/2025
3.0.147 76 1/14/2025
3.0.146 70 1/14/2025
3.0.145 75 1/14/2025
3.0.144 76 1/14/2025
3.0.143 74 1/14/2025
3.0.142 69 1/14/2025
3.0.141 69 1/14/2025
3.0.140 70 1/14/2025
3.0.139 75 1/13/2025
3.0.138 74 1/13/2025
3.0.137 72 1/13/2025
3.0.136 71 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