Soenneker.Utils.Strings.DiceCoefficient 3.0.176

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