Soenneker.Utils.Strings.DiceCoefficient 3.0.201

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.201
                    
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.201
                    
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.201" />
                    
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.201" />
                    
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.201
                    
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.201"
                    
#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.201
                    
Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.201
                    
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.405 33 5/14/2025
3.0.404 123 5/8/2025
3.0.403 123 5/8/2025
3.0.402 125 5/8/2025
3.0.401 124 5/7/2025
3.0.400 121 5/5/2025
3.0.399 125 5/5/2025
3.0.398 125 5/5/2025
3.0.397 121 5/5/2025
3.0.396 122 5/5/2025
3.0.395 124 5/5/2025
3.0.394 125 5/5/2025
3.0.393 84 4/27/2025
3.0.392 65 4/26/2025
3.0.391 148 4/9/2025
3.0.390 142 4/8/2025
3.0.389 143 4/8/2025
3.0.388 148 4/8/2025
3.0.387 155 4/8/2025
3.0.386 136 4/8/2025
3.0.385 127 4/8/2025
3.0.384 131 4/8/2025
3.0.383 132 4/8/2025
3.0.382 133 4/8/2025
3.0.381 134 4/8/2025
3.0.380 140 4/7/2025
3.0.379 135 4/7/2025
3.0.378 127 4/7/2025
3.0.377 134 4/7/2025
3.0.376 140 4/7/2025
3.0.375 134 4/6/2025
3.0.374 135 4/6/2025
3.0.373 111 4/6/2025
3.0.372 106 4/6/2025
3.0.371 109 4/6/2025
3.0.370 82 4/6/2025
3.0.369 88 4/6/2025
3.0.368 85 4/5/2025
3.0.367 61 4/5/2025
3.0.366 69 4/5/2025
3.0.365 66 4/5/2025
3.0.364 68 4/5/2025
3.0.363 62 4/5/2025
3.0.362 78 4/5/2025
3.0.361 132 4/4/2025
3.0.360 130 4/1/2025
3.0.359 137 3/31/2025
3.0.358 138 3/31/2025
3.0.357 71 3/29/2025
3.0.356 457 3/25/2025
3.0.355 459 3/25/2025
3.0.354 104 3/21/2025
3.0.353 123 3/21/2025
3.0.352 130 3/18/2025
3.0.351 132 3/18/2025
3.0.350 63 3/15/2025
3.0.349 59 3/15/2025
3.0.348 138 3/12/2025
3.0.347 148 3/12/2025
3.0.346 144 3/11/2025
3.0.345 140 3/11/2025
3.0.344 154 3/11/2025
3.0.343 145 3/11/2025
3.0.342 150 3/11/2025
3.0.341 140 3/11/2025
3.0.340 146 3/11/2025
3.0.339 144 3/11/2025
3.0.338 196 3/7/2025
3.0.337 197 3/7/2025
3.0.336 107 3/2/2025
3.0.335 81 3/2/2025
3.0.334 80 3/2/2025
3.0.333 81 3/2/2025
3.0.332 87 3/2/2025
3.0.331 84 3/2/2025
3.0.330 94 3/1/2025
3.0.329 83 3/1/2025
3.0.328 83 3/1/2025
3.0.327 82 3/1/2025
3.0.326 79 3/1/2025
3.0.325 83 3/1/2025
3.0.324 89 3/1/2025
3.0.323 83 3/1/2025
3.0.322 85 3/1/2025
3.0.321 81 3/1/2025
3.0.320 79 3/1/2025
3.0.319 93 2/25/2025
3.0.318 93 2/25/2025
3.0.317 83 2/25/2025
3.0.316 82 2/24/2025
3.0.315 82 2/24/2025
3.0.314 102 2/23/2025
3.0.313 91 2/23/2025
3.0.312 85 2/22/2025
3.0.311 90 2/22/2025
3.0.310 86 2/22/2025
3.0.309 83 2/22/2025
3.0.308 87 2/21/2025
3.0.307 88 2/21/2025
3.0.306 93 2/21/2025
3.0.305 89 2/19/2025
3.0.304 93 2/19/2025
3.0.303 89 2/19/2025
3.0.302 95 2/18/2025
3.0.301 90 2/18/2025
3.0.300 99 2/18/2025
3.0.299 96 2/18/2025
3.0.298 93 2/18/2025
3.0.297 87 2/18/2025
3.0.296 92 2/14/2025
3.0.295 91 2/14/2025
3.0.294 95 2/13/2025
3.0.293 91 2/13/2025
3.0.292 89 2/12/2025
3.0.291 110 2/12/2025
3.0.290 101 2/12/2025
3.0.289 106 2/12/2025
3.0.288 103 2/12/2025
3.0.287 97 2/11/2025
3.0.286 90 2/11/2025
3.0.285 97 2/11/2025
3.0.284 99 2/11/2025
3.0.283 94 2/11/2025
3.0.282 95 2/11/2025
3.0.281 94 2/11/2025
3.0.280 103 2/11/2025
3.0.279 97 2/11/2025
3.0.278 92 2/11/2025
3.0.277 91 2/11/2025
3.0.276 83 2/11/2025
3.0.275 89 2/10/2025
3.0.274 96 2/10/2025
3.0.273 94 2/10/2025
3.0.272 99 2/10/2025
3.0.271 103 2/10/2025
3.0.270 98 2/10/2025
3.0.269 97 2/10/2025
3.0.268 96 2/9/2025
3.0.267 88 2/9/2025
3.0.266 93 2/8/2025
3.0.265 84 2/8/2025
3.0.264 89 2/8/2025
3.0.263 92 2/8/2025
3.0.262 84 2/8/2025
3.0.261 87 2/8/2025
3.0.260 86 2/8/2025
3.0.259 86 2/7/2025
3.0.258 86 2/7/2025
3.0.257 89 2/7/2025
3.0.256 89 2/7/2025
3.0.255 93 2/7/2025
3.0.253 87 2/7/2025
3.0.252 82 2/7/2025
3.0.251 83 2/7/2025
3.0.250 85 2/7/2025
3.0.249 88 2/6/2025
3.0.248 91 2/5/2025
3.0.247 100 2/5/2025
3.0.246 91 2/5/2025
3.0.245 87 2/5/2025
3.0.244 88 2/5/2025
3.0.243 93 2/5/2025
3.0.242 90 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 89 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 75 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 87 1/25/2025
3.0.222 89 1/25/2025
3.0.221 86 1/25/2025
3.0.220 85 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 88 1/23/2025
3.0.208 110 1/23/2025
3.0.207 86 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 90 1/21/2025
3.0.200 90 1/21/2025
3.0.199 89 1/21/2025
3.0.198 82 1/21/2025
3.0.197 87 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 89 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 88 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 64 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 72 1/14/2025
3.0.142 67 1/14/2025
3.0.141 66 1/14/2025
3.0.140 68 1/14/2025
3.0.139 73 1/13/2025
3.0.138 72 1/13/2025
3.0.137 70 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 83 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 99 1/2/2025
3.0.113 99 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 107 1/1/2025
3.0.108 108 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 113 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 90 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 93 12/27/2024
3.0.84 101 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 86 12/24/2024
3.0.78 83 12/24/2024
3.0.77 88 12/24/2024
3.0.76 86 12/24/2024
3.0.75 99 12/24/2024
3.0.74 87 12/24/2024
3.0.73 88 12/24/2024
3.0.72 86 12/24/2024
3.0.71 96 12/23/2024
3.0.70 99 12/23/2024
3.0.69 90 12/23/2024
3.0.68 108 12/23/2024
3.0.67 91 12/23/2024
3.0.66 99 12/23/2024
3.0.65 89 12/22/2024
3.0.64 88 12/22/2024
3.0.63 94 12/22/2024
3.0.62 95 12/22/2024
3.0.61 89 12/22/2024
3.0.60 93 12/22/2024
3.0.59 94 12/22/2024
3.0.58 94 12/21/2024
3.0.57 83 12/21/2024
3.0.56 93 12/21/2024
3.0.55 97 12/21/2024
3.0.54 91 12/21/2024
3.0.53 89 12/21/2024
3.0.52 94 12/21/2024
3.0.51 95 12/21/2024
3.0.50 102 12/21/2024
3.0.49 98 12/21/2024
3.0.48 93 12/21/2024
3.0.47 94 12/21/2024
3.0.46 98 12/21/2024
3.0.45 94 12/20/2024
3.0.44 86 12/20/2024
3.0.43 105 12/20/2024
3.0.42 94 12/20/2024
3.0.41 92 12/20/2024
3.0.40 89 12/20/2024
3.0.39 95 12/20/2024
3.0.38 95 12/19/2024
3.0.37 91 12/19/2024
3.0.36 86 12/19/2024
3.0.35 89 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 103 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 90 12/10/2024
3.0.23 93 12/10/2024
3.0.22 90 12/10/2024
3.0.21 91 12/9/2024
3.0.20 96 12/9/2024
3.0.19 92 12/9/2024
3.0.18 92 12/9/2024
3.0.17 98 12/9/2024
3.0.16 94 12/7/2024
3.0.15 101 12/6/2024
3.0.14 94 12/6/2024
3.0.13 92 12/6/2024
3.0.12 92 12/6/2024
3.0.11 109 12/6/2024
3.0.10 104 12/6/2024
3.0.9 97 12/6/2024
3.0.7 99 12/6/2024
3.0.6 95 12/6/2024
3.0.5 97 12/5/2024
3.0.4 99 12/5/2024
3.0.3 102 12/5/2024
3.0.2 101 12/4/2024
3.0.1 99 12/4/2024