Soenneker.Utils.String.JaccardSimilarity 2.1.5

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.String.JaccardSimilarity --version 2.1.5
NuGet\Install-Package Soenneker.Utils.String.JaccardSimilarity -Version 2.1.5
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.String.JaccardSimilarity" Version="2.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.String.JaccardSimilarity --version 2.1.5
#r "nuget: Soenneker.Utils.String.JaccardSimilarity, 2.1.5"
#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.String.JaccardSimilarity as a Cake Addin
#addin nuget:?package=Soenneker.Utils.String.JaccardSimilarity&version=2.1.5

// Install Soenneker.Utils.String.JaccardSimilarity as a Cake Tool
#tool nuget:?package=Soenneker.Utils.String.JaccardSimilarity&version=2.1.5

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.String.JaccardSimilarity

A utility library for comparing strings via the Jaccard similarity algorithm

Installation

dotnet add package Soenneker.Utils.String.JaccardSimilarity

Why?

Jaccard similarity is great for comparing sets of items, and it's often used for tasks like detecting similar documents or recommending content. It's useful because:

Set-Focused:

It works well when you care about what elements are present, not their order.

Scale Doesn't Matter:

It's not influenced by how big the sets are, just by what they share.

Efficient:

It's quick to calculate making it suitable for large datasets.

Handles Noise Well:

It stays reliable even if there's extra, less important information in the sets.

Usage

var text1 = "This is a test";
var text2 = "This is another test";

double result = JaccardSimilarityStringUtil.CalculateSimilarityPercentage(text1, text2); // 60
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
2.1.325 22 5/13/2024
2.1.324 33 5/13/2024
2.1.323 27 5/13/2024
2.1.322 29 5/12/2024
2.1.321 87 4/30/2024
2.1.320 79 4/30/2024
2.1.319 85 4/30/2024
2.1.318 77 4/30/2024
2.1.317 76 4/29/2024
2.1.316 71 4/29/2024
2.1.315 69 4/29/2024
2.1.314 74 4/29/2024
2.1.313 68 4/28/2024
2.1.312 75 4/28/2024
2.1.311 71 4/28/2024
2.1.310 74 4/28/2024
2.1.309 74 4/28/2024
2.1.308 78 4/28/2024
2.1.307 70 4/28/2024
2.1.306 77 4/28/2024
2.1.305 74 4/27/2024
2.1.304 89 4/20/2024
2.1.303 70 4/20/2024
2.1.302 71 4/19/2024
2.1.301 71 4/19/2024
2.1.300 60 4/19/2024
2.1.299 66 4/19/2024
2.1.298 71 4/19/2024
2.1.297 68 4/18/2024
2.1.296 91 4/13/2024
2.1.295 84 4/13/2024
2.1.294 74 4/13/2024
2.1.293 79 4/13/2024
2.1.292 68 4/12/2024
2.1.291 67 4/12/2024
2.1.290 74 4/12/2024
2.1.289 73 4/12/2024
2.1.288 69 4/12/2024
2.1.287 77 4/12/2024
2.1.286 77 4/12/2024
2.1.285 73 4/12/2024
2.1.284 74 4/11/2024
2.1.283 79 4/10/2024
2.1.282 71 4/10/2024
2.1.281 72 4/10/2024
2.1.280 68 4/10/2024
2.1.279 73 4/10/2024
2.1.278 68 4/3/2024
2.1.277 79 4/2/2024
2.1.276 75 4/2/2024
2.1.275 50 4/2/2024
2.1.274 83 4/2/2024
2.1.273 63 4/2/2024
2.1.272 216 3/30/2024
2.1.271 81 3/29/2024
2.1.270 86 3/29/2024
2.1.269 78 3/25/2024
2.1.268 73 3/25/2024
2.1.267 79 3/25/2024
2.1.266 73 3/25/2024
2.1.265 72 3/25/2024
2.1.264 77 3/21/2024
2.1.263 78 3/21/2024
2.1.262 76 3/20/2024
2.1.261 74 3/20/2024
2.1.260 65 3/20/2024
2.1.259 70 3/20/2024
2.1.258 82 3/19/2024
2.1.257 96 3/19/2024
2.1.256 69 3/19/2024
2.1.255 83 3/19/2024
2.1.254 97 3/19/2024
2.1.253 93 3/19/2024
2.1.252 63 3/18/2024
2.1.251 89 3/16/2024
2.1.250 80 3/16/2024
2.1.249 96 3/16/2024
2.1.248 84 3/15/2024
2.1.247 81 3/14/2024
2.1.246 89 3/13/2024
2.1.245 84 3/13/2024
2.1.244 80 3/13/2024
2.1.243 92 3/13/2024
2.1.242 78 3/13/2024
2.1.241 88 3/13/2024
2.1.240 94 3/13/2024
2.1.239 85 3/13/2024
2.1.238 82 3/13/2024
2.1.237 74 3/12/2024
2.1.236 90 3/12/2024
2.1.235 77 3/12/2024
2.1.234 76 3/12/2024
2.1.233 68 3/12/2024
2.1.232 83 3/12/2024
2.1.231 72 3/11/2024
2.1.230 84 3/11/2024
2.1.229 64 3/11/2024
2.1.228 63 3/11/2024
2.1.227 76 3/10/2024
2.1.226 65 3/10/2024
2.1.225 73 3/10/2024
2.1.224 84 3/9/2024
2.1.223 81 3/8/2024
2.1.222 83 3/8/2024
2.1.221 78 3/8/2024
2.1.220 74 3/8/2024
2.1.219 82 3/8/2024
2.1.218 76 3/8/2024
2.1.217 81 3/6/2024
2.1.216 87 3/6/2024
2.1.215 87 3/4/2024
2.1.214 78 3/4/2024
2.1.213 83 3/4/2024
2.1.212 86 3/4/2024
2.1.211 90 3/4/2024
2.1.210 83 3/3/2024
2.1.209 89 3/3/2024
2.1.208 84 3/3/2024
2.1.207 93 3/3/2024
2.1.206 83 3/2/2024
2.1.205 86 3/2/2024
2.1.204 87 3/2/2024
2.1.203 80 3/2/2024
2.1.202 87 3/2/2024
2.1.201 72 3/2/2024
2.1.200 76 3/2/2024
2.1.199 86 2/29/2024
2.1.198 84 2/29/2024
2.1.197 78 2/29/2024
2.1.196 79 2/29/2024
2.1.195 73 2/29/2024
2.1.194 79 2/29/2024
2.1.193 85 2/29/2024
2.1.192 91 2/27/2024
2.1.191 73 2/26/2024
2.1.190 73 2/26/2024
2.1.189 81 2/25/2024
2.1.188 81 2/25/2024
2.1.187 78 2/25/2024
2.1.186 78 2/25/2024
2.1.185 84 2/24/2024
2.1.184 82 2/24/2024
2.1.183 77 2/23/2024
2.1.182 65 2/23/2024
2.1.181 79 2/22/2024
2.1.180 86 2/22/2024
2.1.179 89 2/22/2024
2.1.178 93 2/22/2024
2.1.177 68 2/22/2024
2.1.176 90 2/22/2024
2.1.175 78 2/21/2024
2.1.174 93 2/21/2024
2.1.173 76 2/21/2024
2.1.172 84 2/21/2024
2.1.171 83 2/21/2024
2.1.170 83 2/21/2024
2.1.169 74 2/21/2024
2.1.168 77 2/20/2024
2.1.167 68 2/20/2024
2.1.166 69 2/20/2024
2.1.165 78 2/20/2024
2.1.164 84 2/20/2024
2.1.163 71 2/20/2024
2.1.162 80 2/20/2024
2.1.161 77 2/20/2024
2.1.160 72 2/19/2024
2.1.159 72 2/19/2024
2.1.158 68 2/19/2024
2.1.157 69 2/19/2024
2.1.156 73 2/17/2024
2.1.155 72 2/17/2024
2.1.154 65 2/17/2024
2.1.153 73 2/17/2024
2.1.152 75 2/17/2024
2.1.151 75 2/16/2024
2.1.150 69 2/16/2024
2.1.149 72 2/16/2024
2.1.148 73 2/16/2024
2.1.147 71 2/16/2024
2.1.146 76 2/16/2024
2.1.145 71 2/16/2024
2.1.144 69 2/16/2024
2.1.143 74 2/14/2024
2.1.142 74 2/14/2024
2.1.141 70 2/14/2024
2.1.140 75 2/14/2024
2.1.139 76 2/13/2024
2.1.138 89 2/13/2024
2.1.137 65 2/13/2024
2.1.136 63 2/13/2024
2.1.135 66 2/13/2024
2.1.134 91 2/13/2024
2.1.133 81 2/13/2024
2.1.132 91 2/12/2024
2.1.131 80 2/12/2024
2.1.130 68 2/12/2024
2.1.129 87 2/12/2024
2.1.128 91 2/11/2024
2.1.127 85 2/11/2024
2.1.126 71 2/11/2024
2.1.125 74 2/11/2024
2.1.124 86 2/11/2024
2.1.123 76 2/11/2024
2.1.122 77 2/10/2024
2.1.121 78 2/10/2024
2.1.120 89 2/10/2024
2.1.119 88 2/10/2024
2.1.118 77 2/9/2024
2.1.117 91 2/9/2024
2.1.116 87 2/9/2024
2.1.115 91 2/9/2024
2.1.114 86 2/9/2024
2.1.113 82 2/9/2024
2.1.112 73 2/9/2024
2.1.111 74 2/8/2024
2.1.110 88 2/8/2024
2.1.109 90 2/8/2024
2.1.108 80 2/8/2024
2.1.107 73 2/8/2024
2.1.106 86 2/8/2024
2.1.105 89 2/7/2024
2.1.104 81 2/7/2024
2.1.103 94 2/7/2024
2.1.102 83 2/7/2024
2.1.101 87 2/7/2024
2.1.100 89 2/7/2024
2.1.99 95 2/7/2024
2.1.98 85 2/6/2024
2.1.97 90 2/6/2024
2.1.96 84 2/6/2024
2.1.95 74 2/5/2024
2.1.94 76 2/5/2024
2.1.93 76 2/5/2024
2.1.92 77 2/4/2024
2.1.91 68 2/4/2024
2.1.90 74 2/4/2024
2.1.89 80 2/3/2024
2.1.88 77 2/3/2024
2.1.87 78 2/2/2024
2.1.86 81 1/31/2024
2.1.85 73 1/31/2024
2.1.84 71 1/31/2024
2.1.83 76 1/31/2024
2.1.82 78 1/31/2024
2.1.81 85 1/30/2024
2.1.80 69 1/30/2024
2.1.79 76 1/30/2024
2.1.78 74 1/29/2024
2.1.77 75 1/29/2024
2.1.76 74 1/29/2024
2.1.75 75 1/29/2024
2.1.74 75 1/29/2024
2.1.73 77 1/28/2024
2.1.72 77 1/28/2024
2.1.71 74 1/28/2024
2.1.70 78 1/28/2024
2.1.69 75 1/28/2024
2.1.68 78 1/28/2024
2.1.67 77 1/28/2024
2.1.66 73 1/27/2024
2.1.65 79 1/27/2024
2.1.64 72 1/27/2024
2.1.63 77 1/27/2024
2.1.62 76 1/27/2024
2.1.61 75 1/27/2024
2.1.60 71 1/27/2024
2.1.59 77 1/27/2024
2.1.58 74 1/26/2024
2.1.57 76 1/26/2024
2.1.56 77 1/26/2024
2.1.55 76 1/26/2024
2.1.54 76 1/26/2024
2.1.53 77 1/26/2024
2.1.52 76 1/26/2024
2.1.51 74 1/26/2024
2.1.50 75 1/25/2024
2.1.49 74 1/25/2024
2.1.48 77 1/25/2024
2.1.47 78 1/25/2024
2.1.46 78 1/25/2024
2.1.45 79 1/19/2024
2.1.44 76 1/19/2024
2.1.43 83 1/16/2024
2.1.42 82 1/16/2024
2.1.41 83 1/15/2024
2.1.40 89 1/15/2024
2.1.39 85 1/15/2024
2.1.38 87 1/15/2024
2.1.37 88 1/15/2024
2.1.36 84 1/15/2024
2.1.35 79 1/15/2024
2.1.34 85 1/14/2024
2.1.33 80 1/14/2024
2.1.32 85 1/14/2024
2.1.31 86 1/14/2024
2.1.30 89 1/13/2024
2.1.29 86 1/13/2024
2.1.28 88 1/13/2024
2.1.27 81 1/13/2024
2.1.26 101 1/12/2024
2.1.25 83 1/12/2024
2.1.24 81 1/12/2024
2.1.23 90 1/11/2024
2.1.22 92 1/11/2024
2.1.21 74 1/11/2024
2.1.20 87 1/9/2024
2.1.19 97 1/8/2024
2.1.18 83 1/8/2024
2.1.17 91 1/8/2024
2.1.16 95 1/7/2024
2.1.15 96 1/6/2024
2.1.14 92 1/5/2024
2.1.13 99 1/5/2024
2.1.12 94 1/5/2024
2.1.11 75 1/5/2024
2.1.10 92 1/5/2024
2.1.9 94 1/5/2024
2.1.8 103 1/1/2024
2.1.7 91 1/1/2024
2.1.6 88 1/1/2024
2.1.5 112 1/1/2024
2.1.4 94 1/1/2024
2.1.3 116 12/31/2023
2.1.2 84 12/31/2023
2.1.1 111 12/31/2023