Soenneker.Utils.Strings.DiceCoefficient 3.0.348

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