Soenneker.Utils.Strings.DiceCoefficient 3.0.296

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.296                
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.296                
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.296" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Strings.DiceCoefficient --version 3.0.296                
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.296"                
#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.
// Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Addin
#addin nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.296

// Install Soenneker.Utils.Strings.DiceCoefficient as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Strings.DiceCoefficient&version=3.0.296                

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.305 25 2/19/2025
3.0.304 24 2/19/2025
3.0.303 22 2/19/2025
3.0.302 37 2/18/2025
3.0.301 32 2/18/2025
3.0.300 44 2/18/2025
3.0.299 43 2/18/2025
3.0.298 49 2/18/2025
3.0.297 48 2/18/2025
3.0.296 64 2/14/2025
3.0.295 62 2/14/2025
3.0.294 63 2/13/2025
3.0.293 61 2/13/2025
3.0.292 58 2/12/2025
3.0.291 77 2/12/2025
3.0.290 72 2/12/2025
3.0.289 75 2/12/2025
3.0.288 73 2/12/2025
3.0.287 69 2/11/2025
3.0.286 63 2/11/2025
3.0.285 67 2/11/2025
3.0.284 70 2/11/2025
3.0.283 65 2/11/2025
3.0.282 67 2/11/2025
3.0.281 66 2/11/2025
3.0.280 73 2/11/2025
3.0.279 67 2/11/2025
3.0.278 64 2/11/2025
3.0.277 63 2/11/2025
3.0.276 55 2/11/2025
3.0.275 61 2/10/2025
3.0.274 66 2/10/2025
3.0.273 67 2/10/2025
3.0.272 65 2/10/2025
3.0.271 72 2/10/2025
3.0.270 71 2/10/2025
3.0.269 69 2/10/2025
3.0.268 65 2/9/2025
3.0.267 65 2/9/2025
3.0.266 73 2/8/2025
3.0.265 63 2/8/2025
3.0.264 66 2/8/2025
3.0.263 71 2/8/2025
3.0.262 59 2/8/2025
3.0.261 64 2/8/2025
3.0.260 67 2/8/2025
3.0.259 65 2/7/2025
3.0.258 65 2/7/2025
3.0.257 67 2/7/2025
3.0.256 66 2/7/2025
3.0.255 70 2/7/2025
3.0.253 63 2/7/2025
3.0.252 58 2/7/2025
3.0.251 61 2/7/2025
3.0.250 64 2/7/2025
3.0.249 49 2/6/2025
3.0.248 66 2/5/2025
3.0.247 69 2/5/2025
3.0.246 66 2/5/2025
3.0.245 69 2/5/2025
3.0.244 66 2/5/2025
3.0.243 69 2/5/2025
3.0.242 69 2/5/2025
3.0.241 76 1/28/2025
3.0.240 59 1/28/2025
3.0.239 72 1/28/2025
3.0.238 58 1/27/2025
3.0.237 63 1/27/2025
3.0.236 64 1/27/2025
3.0.235 56 1/27/2025
3.0.234 62 1/27/2025
3.0.233 64 1/27/2025
3.0.232 53 1/27/2025
3.0.231 65 1/27/2025
3.0.230 57 1/27/2025
3.0.229 68 1/26/2025
3.0.228 68 1/26/2025
3.0.227 60 1/26/2025
3.0.226 61 1/25/2025
3.0.225 62 1/25/2025
3.0.224 71 1/25/2025
3.0.223 62 1/25/2025
3.0.222 66 1/25/2025
3.0.221 66 1/25/2025
3.0.220 63 1/25/2025
3.0.219 49 1/25/2025
3.0.218 44 1/24/2025
3.0.217 39 1/24/2025
3.0.216 40 1/24/2025
3.0.215 48 1/24/2025
3.0.214 69 1/24/2025
3.0.213 57 1/24/2025
3.0.212 59 1/24/2025
3.0.211 65 1/24/2025
3.0.210 65 1/23/2025
3.0.209 64 1/23/2025
3.0.208 79 1/23/2025
3.0.207 66 1/21/2025
3.0.206 65 1/21/2025
3.0.205 66 1/21/2025
3.0.204 71 1/21/2025
3.0.203 70 1/21/2025
3.0.202 70 1/21/2025
3.0.201 68 1/21/2025
3.0.200 70 1/21/2025
3.0.199 67 1/21/2025
3.0.198 65 1/21/2025
3.0.197 70 1/20/2025
3.0.196 65 1/20/2025
3.0.195 68 1/20/2025
3.0.194 73 1/20/2025
3.0.193 67 1/20/2025
3.0.192 60 1/20/2025
3.0.191 68 1/20/2025
3.0.190 67 1/20/2025
3.0.189 71 1/20/2025
3.0.188 75 1/20/2025
3.0.187 74 1/20/2025
3.0.186 77 1/20/2025
3.0.185 70 1/20/2025
3.0.184 70 1/20/2025
3.0.183 68 1/19/2025
3.0.182 69 1/19/2025
3.0.181 78 1/19/2025
3.0.180 62 1/19/2025
3.0.179 70 1/19/2025
3.0.178 66 1/18/2025
3.0.177 68 1/18/2025
3.0.176 59 1/18/2025
3.0.175 69 1/17/2025
3.0.174 68 1/17/2025
3.0.173 78 1/17/2025
3.0.172 72 1/17/2025
3.0.171 70 1/17/2025
3.0.170 73 1/17/2025
3.0.169 68 1/16/2025
3.0.168 67 1/16/2025
3.0.167 74 1/16/2025
3.0.166 62 1/16/2025
3.0.165 63 1/16/2025
3.0.164 70 1/16/2025
3.0.163 79 1/16/2025
3.0.162 77 1/16/2025
3.0.161 74 1/16/2025
3.0.160 71 1/16/2025
3.0.159 78 1/15/2025
3.0.158 76 1/15/2025
3.0.157 68 1/15/2025
3.0.156 70 1/15/2025
3.0.155 68 1/15/2025
3.0.154 70 1/15/2025
3.0.153 56 1/15/2025
3.0.152 53 1/15/2025
3.0.151 51 1/15/2025
3.0.150 48 1/15/2025
3.0.149 43 1/15/2025
3.0.148 45 1/15/2025
3.0.147 44 1/14/2025
3.0.146 45 1/14/2025
3.0.145 46 1/14/2025
3.0.144 36 1/14/2025
3.0.143 34 1/14/2025
3.0.142 31 1/14/2025
3.0.141 27 1/14/2025
3.0.140 32 1/14/2025
3.0.139 45 1/13/2025
3.0.138 42 1/13/2025
3.0.137 42 1/13/2025
3.0.136 40 1/13/2025
3.0.135 48 1/12/2025
3.0.134 46 1/12/2025
3.0.133 52 1/11/2025
3.0.132 54 1/11/2025
3.0.131 44 1/11/2025
3.0.130 54 1/10/2025
3.0.129 50 1/10/2025
3.0.128 41 1/10/2025
3.0.127 42 1/10/2025
3.0.126 55 1/10/2025
3.0.125 50 1/10/2025
3.0.124 58 1/10/2025
3.0.123 53 1/10/2025
3.0.122 114 1/3/2025
3.0.121 117 1/3/2025
3.0.120 110 1/3/2025
3.0.119 86 1/3/2025
3.0.118 86 1/3/2025
3.0.117 88 1/2/2025
3.0.116 90 1/2/2025
3.0.115 90 1/2/2025
3.0.114 90 1/2/2025
3.0.113 90 1/2/2025
3.0.112 93 1/2/2025
3.0.111 99 1/1/2025
3.0.110 101 1/1/2025
3.0.109 96 1/1/2025
3.0.108 97 1/1/2025
3.0.107 96 1/1/2025
3.0.106 92 1/1/2025
3.0.105 89 1/1/2025
3.0.104 89 1/1/2025
3.0.103 96 1/1/2025
3.0.102 93 12/31/2024
3.0.101 95 12/31/2024
3.0.100 92 12/31/2024
3.0.99 102 12/31/2024
3.0.98 104 12/31/2024
3.0.97 103 12/31/2024
3.0.96 76 12/31/2024
3.0.95 73 12/31/2024
3.0.94 82 12/31/2024
3.0.93 78 12/31/2024
3.0.92 78 12/31/2024
3.0.91 79 12/31/2024
3.0.90 77 12/31/2024
3.0.89 77 12/31/2024
3.0.88 77 12/30/2024
3.0.87 77 12/28/2024
3.0.86 80 12/28/2024
3.0.85 83 12/27/2024
3.0.84 86 12/27/2024
3.0.83 82 12/24/2024
3.0.82 77 12/24/2024
3.0.81 84 12/24/2024
3.0.80 86 12/24/2024
3.0.79 77 12/24/2024
3.0.78 74 12/24/2024
3.0.77 78 12/24/2024
3.0.76 75 12/24/2024
3.0.75 89 12/24/2024
3.0.74 77 12/24/2024
3.0.73 78 12/24/2024
3.0.72 76 12/24/2024
3.0.71 87 12/23/2024
3.0.70 89 12/23/2024
3.0.69 79 12/23/2024
3.0.68 97 12/23/2024
3.0.67 82 12/23/2024
3.0.66 90 12/23/2024
3.0.65 78 12/22/2024
3.0.64 79 12/22/2024
3.0.63 84 12/22/2024
3.0.62 85 12/22/2024
3.0.61 78 12/22/2024
3.0.60 82 12/22/2024
3.0.59 85 12/22/2024
3.0.58 84 12/21/2024
3.0.57 73 12/21/2024
3.0.56 84 12/21/2024
3.0.55 87 12/21/2024
3.0.54 81 12/21/2024
3.0.53 81 12/21/2024
3.0.52 83 12/21/2024
3.0.51 85 12/21/2024
3.0.50 92 12/21/2024
3.0.49 88 12/21/2024
3.0.48 83 12/21/2024
3.0.47 83 12/21/2024
3.0.46 87 12/21/2024
3.0.45 84 12/20/2024
3.0.44 77 12/20/2024
3.0.43 89 12/20/2024
3.0.42 84 12/20/2024
3.0.41 82 12/20/2024
3.0.40 79 12/20/2024
3.0.39 85 12/20/2024
3.0.38 85 12/19/2024
3.0.37 79 12/19/2024
3.0.36 77 12/19/2024
3.0.35 78 12/19/2024
3.0.34 80 12/19/2024
3.0.33 89 12/19/2024
3.0.32 79 12/19/2024
3.0.31 93 12/18/2024
3.0.30 79 12/18/2024
3.0.29 86 12/18/2024
3.0.28 83 12/17/2024
3.0.27 77 12/17/2024
3.0.26 84 12/17/2024
3.0.25 78 12/17/2024
3.0.24 81 12/10/2024
3.0.23 83 12/10/2024
3.0.22 80 12/10/2024
3.0.21 81 12/9/2024
3.0.20 86 12/9/2024
3.0.19 84 12/9/2024
3.0.18 83 12/9/2024
3.0.17 88 12/9/2024
3.0.16 85 12/7/2024
3.0.15 92 12/6/2024
3.0.14 83 12/6/2024
3.0.13 81 12/6/2024
3.0.12 78 12/6/2024
3.0.11 101 12/6/2024
3.0.10 88 12/6/2024
3.0.9 87 12/6/2024
3.0.7 91 12/6/2024
3.0.6 87 12/6/2024
3.0.5 89 12/5/2024
3.0.4 90 12/5/2024
3.0.3 94 12/5/2024
3.0.2 91 12/4/2024
3.0.1 92 12/4/2024