Soenneker.Utils.Strings.DiceCoefficient 3.0.157

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.157                
NuGet\Install-Package Soenneker.Utils.Strings.DiceCoefficient -Version 3.0.157                
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.157" />                
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.157                
#r "nuget: Soenneker.Utils.Strings.DiceCoefficient, 3.0.157"                
#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.157

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

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.238 0 2 hours ago
3.0.237 0 2 hours ago
3.0.236 0 3 hours ago
3.0.235 0 3 hours ago
3.0.234 0 4 hours ago
3.0.233 0 5 hours ago
3.0.232 0 6 hours ago
3.0.231 0 6 hours ago
3.0.230 0 6 hours ago
3.0.229 31 2 days ago
3.0.228 29 2 days ago
3.0.227 29 2 days ago
3.0.226 31 2 days ago
3.0.225 28 2 days ago
3.0.224 29 2 days ago
3.0.223 31 2 days ago
3.0.222 34 3 days ago
3.0.221 33 3 days ago
3.0.220 31 3 days ago
3.0.219 18 3 days ago
3.0.218 12 3 days ago
3.0.217 5 3 days ago
3.0.216 8 4 days ago
3.0.215 7 4 days ago
3.0.214 28 4 days ago
3.0.213 26 4 days ago
3.0.212 26 4 days ago
3.0.211 26 4 days ago
3.0.210 30 4 days ago
3.0.209 29 4 days ago
3.0.208 33 4 days ago
3.0.207 35 6 days ago
3.0.206 36 6 days ago
3.0.205 36 6 days ago
3.0.204 37 6 days ago
3.0.203 44 6 days ago
3.0.202 50 6 days ago
3.0.201 56 6 days ago
3.0.200 58 7 days ago
3.0.199 65 7 days ago
3.0.198 63 7 days ago
3.0.197 68 7 days ago
3.0.196 63 7 days ago
3.0.195 66 7 days ago
3.0.194 71 7 days ago
3.0.193 65 7 days ago
3.0.192 58 7 days ago
3.0.191 66 7 days ago
3.0.190 65 7 days ago
3.0.189 69 8 days ago
3.0.188 73 8 days ago
3.0.187 72 8 days ago
3.0.186 75 8 days ago
3.0.185 68 8 days ago
3.0.184 68 8 days ago
3.0.183 66 8 days ago
3.0.182 67 8 days ago
3.0.181 76 9 days ago
3.0.180 60 9 days ago
3.0.179 68 9 days ago
3.0.178 64 10 days ago
3.0.177 66 10 days ago
3.0.176 57 10 days ago
3.0.175 69 10 days ago
3.0.174 68 11 days ago
3.0.173 78 11 days ago
3.0.172 72 11 days ago
3.0.171 70 11 days ago
3.0.170 73 11 days ago
3.0.169 68 11 days ago
3.0.168 67 11 days ago
3.0.167 74 12 days ago
3.0.166 62 12 days ago
3.0.165 63 12 days ago
3.0.164 70 12 days ago
3.0.163 79 12 days ago
3.0.162 77 12 days ago
3.0.161 74 12 days ago
3.0.160 71 12 days ago
3.0.159 78 12 days ago
3.0.158 76 12 days ago
3.0.157 68 12 days ago
3.0.156 70 13 days ago
3.0.155 68 13 days ago
3.0.154 70 13 days ago
3.0.153 56 13 days ago
3.0.152 53 13 days ago
3.0.151 51 13 days ago
3.0.150 48 13 days ago
3.0.149 43 13 days ago
3.0.148 45 13 days ago
3.0.147 44 13 days ago
3.0.146 45 13 days ago
3.0.145 46 13 days ago
3.0.144 36 13 days ago
3.0.143 34 13 days ago
3.0.142 31 13 days ago
3.0.141 27 13 days ago
3.0.140 32 13 days ago
3.0.139 45 15 days ago
3.0.138 40 15 days ago
3.0.137 40 15 days ago
3.0.136 38 15 days ago
3.0.135 48 15 days ago
3.0.134 46 15 days ago
3.0.133 48 16 days ago
3.0.132 50 17 days ago
3.0.131 40 17 days ago
3.0.130 50 17 days ago
3.0.129 46 17 days ago
3.0.128 37 17 days ago
3.0.127 38 17 days ago
3.0.126 51 17 days ago
3.0.125 46 17 days ago
3.0.124 54 18 days ago
3.0.123 49 18 days ago
3.0.122 114 24 days ago
3.0.121 117 25 days ago
3.0.120 110 25 days ago
3.0.119 86 25 days ago
3.0.118 86 25 days ago
3.0.117 88 25 days ago
3.0.116 90 25 days ago
3.0.115 90 25 days ago
3.0.114 90 25 days ago
3.0.113 90 25 days ago
3.0.112 93 25 days ago
3.0.111 99 a month ago
3.0.110 101 a month ago
3.0.109 96 a month ago
3.0.108 97 a month ago
3.0.107 96 a month ago
3.0.106 92 a month ago
3.0.105 89 a month ago
3.0.104 89 a month ago
3.0.103 96 a month ago
3.0.102 93 a month ago
3.0.101 95 a month ago
3.0.100 90 a month ago
3.0.99 102 a month ago
3.0.98 102 a month ago
3.0.97 103 a month ago
3.0.96 76 a month ago
3.0.95 73 a month ago
3.0.94 82 a month ago
3.0.93 76 a month ago
3.0.92 78 a month ago
3.0.91 79 a month ago
3.0.90 77 a month ago
3.0.89 77 a month ago
3.0.88 77 a month ago
3.0.87 77 a month ago
3.0.86 80 a month ago
3.0.85 83 a month ago
3.0.84 86 a month ago
3.0.83 80 a month ago
3.0.82 77 a month ago
3.0.81 82 a month ago
3.0.80 86 a month ago
3.0.79 77 a month ago
3.0.78 74 a month ago
3.0.77 78 a month ago
3.0.76 75 a month ago
3.0.75 89 a month ago
3.0.74 77 a month ago
3.0.73 78 a month ago
3.0.72 76 a month ago
3.0.71 85 a month ago
3.0.70 89 a month ago
3.0.69 79 a month ago
3.0.68 97 a month ago
3.0.67 80 a month ago
3.0.66 90 a month ago
3.0.65 78 a month ago
3.0.64 79 a month ago
3.0.63 84 a month ago
3.0.62 85 a month ago
3.0.61 78 a month ago
3.0.60 82 a month ago
3.0.59 83 a month ago
3.0.58 84 a month ago
3.0.57 73 a month ago
3.0.56 84 a month ago
3.0.55 87 a month ago
3.0.54 81 a month ago
3.0.53 79 a month ago
3.0.52 83 a month ago
3.0.51 85 a month ago
3.0.50 92 a month ago
3.0.49 88 a month ago
3.0.48 83 a month ago
3.0.47 83 a month ago
3.0.46 87 a month ago
3.0.45 84 a month ago
3.0.44 77 a month ago
3.0.43 89 a month ago
3.0.42 84 a month ago
3.0.41 82 a month ago
3.0.40 79 a month ago
3.0.39 85 a month ago
3.0.38 85 a month ago
3.0.37 79 a month ago
3.0.36 75 a month ago
3.0.35 78 a month ago
3.0.34 80 a month ago
3.0.33 85 a month ago
3.0.32 79 a month ago
3.0.31 93 a month ago
3.0.30 79 a month ago
3.0.29 86 a month ago
3.0.28 83 a month ago
3.0.27 77 a month ago
3.0.26 84 a month ago
3.0.25 78 a month ago
3.0.24 81 2 months ago
3.0.23 83 2 months ago
3.0.22 80 2 months ago
3.0.21 81 2 months ago
3.0.20 86 2 months ago
3.0.19 82 2 months ago
3.0.18 83 2 months ago
3.0.17 88 2 months ago
3.0.16 85 2 months ago
3.0.15 92 2 months ago
3.0.14 83 2 months ago
3.0.13 79 2 months ago
3.0.12 78 2 months ago
3.0.11 97 2 months ago
3.0.10 86 2 months ago
3.0.9 87 2 months ago
3.0.7 91 2 months ago
3.0.6 87 2 months ago
3.0.5 89 2 months ago
3.0.4 90 2 months ago
3.0.3 94 2 months ago
3.0.2 91 2 months ago
3.0.1 92 2 months ago