Soenneker.Utils.String.LongestCommonSequence 2.1.328

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

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

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.LongestCommonSequence

A utility library for comparing strings via the Longest Common Sequence algorithm

Installation

dotnet add package Soenneker.Utils.String.LongestCommonSequence

Why?

Clarity in Similarity:

LCS gives a straightforward measure of similarity. The longer the common subsequence, the more similar the sequences.

Length-Flexible:

No bias for longer or shorter sequences. Focuses on shared elements, not sequence length.

Meaningful Over Quantity:

Emphasizes the meaning of elements, not just their frequency. Great for identifying shared meaningful content.

Efficient for Big Data:

Handles large datasets and extensive sequences efficiently. Practical for tasks involving substantial amounts of data.

Usage

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

double result = LcsStringUtil.CalculateSimilarityPercentage(text1, text2); // 70
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.379 76 6/4/2024
2.1.378 76 6/4/2024
2.1.377 74 6/2/2024
2.1.376 70 6/2/2024
2.1.375 67 5/31/2024
2.1.374 77 5/31/2024
2.1.373 78 5/31/2024
2.1.372 71 5/31/2024
2.1.371 72 5/29/2024
2.1.370 73 5/29/2024
2.1.369 64 5/29/2024
2.1.368 69 5/28/2024
2.1.367 73 5/28/2024
2.1.366 67 5/28/2024
2.1.365 69 5/28/2024
2.1.364 66 5/28/2024
2.1.363 64 5/27/2024
2.1.362 64 5/27/2024
2.1.361 67 5/27/2024
2.1.360 62 5/26/2024
2.1.359 72 5/26/2024
2.1.358 76 5/26/2024
2.1.357 68 5/26/2024
2.1.356 70 5/26/2024
2.1.355 70 5/26/2024
2.1.354 70 5/25/2024
2.1.353 69 5/25/2024
2.1.352 74 5/25/2024
2.1.351 69 5/25/2024
2.1.350 71 5/25/2024
2.1.349 69 5/25/2024
2.1.348 65 5/25/2024
2.1.347 73 5/23/2024
2.1.346 73 5/23/2024
2.1.345 64 5/23/2024
2.1.344 68 5/23/2024
2.1.343 57 5/23/2024
2.1.342 70 5/23/2024
2.1.341 71 5/23/2024
2.1.340 69 5/22/2024
2.1.339 73 5/22/2024
2.1.338 73 5/22/2024
2.1.337 60 5/22/2024
2.1.336 82 5/18/2024
2.1.335 73 5/18/2024
2.1.334 82 5/18/2024
2.1.333 81 5/18/2024
2.1.332 90 5/17/2024
2.1.331 84 5/17/2024
2.1.330 77 5/17/2024
2.1.329 82 5/16/2024
2.1.328 72 5/16/2024
2.1.327 81 5/15/2024
2.1.326 63 5/15/2024
2.1.325 83 5/15/2024
2.1.324 68 5/13/2024
2.1.323 60 5/13/2024
2.1.322 63 5/12/2024
2.1.321 97 4/30/2024
2.1.320 84 4/30/2024
2.1.319 79 4/30/2024
2.1.318 89 4/30/2024
2.1.317 83 4/29/2024
2.1.316 80 4/29/2024
2.1.315 75 4/29/2024
2.1.314 75 4/29/2024
2.1.313 74 4/29/2024
2.1.312 76 4/28/2024
2.1.311 73 4/28/2024
2.1.310 75 4/28/2024
2.1.309 81 4/28/2024
2.1.308 80 4/28/2024
2.1.307 75 4/28/2024
2.1.306 85 4/28/2024
2.1.305 73 4/28/2024
2.1.304 77 4/27/2024
2.1.303 96 4/20/2024
2.1.302 83 4/20/2024
2.1.301 74 4/19/2024
2.1.300 69 4/19/2024
2.1.299 72 4/19/2024
2.1.298 76 4/19/2024
2.1.297 78 4/19/2024
2.1.296 95 4/13/2024
2.1.295 86 4/13/2024
2.1.294 84 4/13/2024
2.1.293 80 4/12/2024
2.1.292 88 4/12/2024
2.1.291 81 4/12/2024
2.1.290 90 4/12/2024
2.1.289 73 4/12/2024
2.1.288 89 4/12/2024
2.1.287 98 4/12/2024
2.1.286 91 4/12/2024
2.1.285 79 4/11/2024
2.1.284 92 4/10/2024
2.1.283 79 4/10/2024
2.1.282 79 4/10/2024
2.1.281 79 4/10/2024
2.1.280 72 4/10/2024
2.1.279 92 4/3/2024
2.1.278 82 4/2/2024
2.1.277 80 4/2/2024
2.1.276 86 4/2/2024
2.1.275 93 4/1/2024
2.1.274 102 3/30/2024
2.1.273 101 3/29/2024
2.1.272 93 3/29/2024
2.1.271 115 3/25/2024
2.1.270 122 3/25/2024
2.1.269 124 3/25/2024
2.1.268 105 3/25/2024
2.1.267 127 3/21/2024
2.1.266 136 3/21/2024
2.1.265 131 3/21/2024
2.1.264 132 3/20/2024
2.1.263 133 3/20/2024
2.1.262 121 3/20/2024
2.1.261 130 3/19/2024
2.1.260 147 3/19/2024
2.1.259 113 3/19/2024
2.1.258 147 3/19/2024
2.1.257 127 3/19/2024
2.1.256 136 3/19/2024
2.1.255 146 3/18/2024
2.1.254 142 3/16/2024
2.1.253 148 3/16/2024
2.1.252 158 3/16/2024
2.1.251 112 3/15/2024
2.1.250 132 3/15/2024
2.1.249 123 3/14/2024
2.1.248 142 3/13/2024
2.1.247 137 3/13/2024
2.1.246 136 3/13/2024
2.1.245 147 3/13/2024
2.1.244 129 3/13/2024
2.1.243 140 3/13/2024
2.1.242 156 3/13/2024
2.1.241 146 3/13/2024
2.1.240 136 3/13/2024
2.1.239 129 3/12/2024
2.1.238 156 3/12/2024
2.1.237 125 3/12/2024
2.1.236 148 3/12/2024
2.1.235 177 3/12/2024
2.1.234 153 3/11/2024
2.1.233 168 3/11/2024
2.1.232 164 3/11/2024
2.1.231 151 3/11/2024
2.1.230 165 3/10/2024
2.1.229 166 3/10/2024
2.1.228 161 3/10/2024
2.1.227 165 3/10/2024
2.1.226 172 3/9/2024
2.1.225 191 3/9/2024
2.1.224 195 3/8/2024
2.1.223 149 3/8/2024
2.1.222 165 3/8/2024
2.1.221 138 3/8/2024
2.1.220 174 3/8/2024
2.1.219 179 3/8/2024
2.1.218 174 3/6/2024
2.1.217 172 3/6/2024
2.1.216 164 3/6/2024
2.1.215 188 3/4/2024
2.1.214 200 3/4/2024
2.1.213 190 3/4/2024
2.1.212 200 3/4/2024
2.1.211 174 3/4/2024
2.1.210 193 3/4/2024
2.1.209 166 3/3/2024
2.1.208 162 3/3/2024
2.1.207 182 3/3/2024
2.1.206 195 3/3/2024
2.1.205 194 3/2/2024
2.1.204 186 3/2/2024
2.1.203 199 3/2/2024
2.1.202 174 3/2/2024
2.1.201 191 3/2/2024
2.1.200 187 3/2/2024
2.1.199 189 3/2/2024
2.1.198 198 3/1/2024
2.1.197 173 2/29/2024
2.1.196 173 2/29/2024
2.1.195 195 2/29/2024
2.1.194 179 2/29/2024
2.1.193 160 2/29/2024
2.1.192 180 2/29/2024
2.1.191 207 2/29/2024
2.1.190 217 2/27/2024
2.1.189 196 2/26/2024
2.1.188 204 2/26/2024
2.1.187 209 2/25/2024
2.1.186 209 2/25/2024
2.1.185 187 2/25/2024
2.1.184 175 2/25/2024
2.1.183 218 2/24/2024
2.1.182 220 2/23/2024
2.1.181 233 2/23/2024
2.1.180 236 2/22/2024
2.1.179 192 2/22/2024
2.1.178 230 2/22/2024
2.1.177 201 2/22/2024
2.1.176 202 2/22/2024
2.1.175 201 2/22/2024
2.1.174 194 2/21/2024
2.1.173 227 2/21/2024
2.1.172 219 2/21/2024
2.1.171 200 2/21/2024
2.1.170 213 2/21/2024
2.1.169 199 2/21/2024
2.1.168 204 2/21/2024
2.1.167 206 2/20/2024
2.1.166 190 2/20/2024
2.1.165 212 2/20/2024
2.1.164 198 2/20/2024
2.1.163 232 2/20/2024
2.1.162 231 2/20/2024
2.1.161 197 2/20/2024
2.1.160 236 2/20/2024
2.1.159 214 2/19/2024
2.1.158 231 2/19/2024
2.1.157 211 2/19/2024
2.1.156 217 2/19/2024
2.1.155 224 2/19/2024
2.1.154 229 2/17/2024
2.1.153 236 2/17/2024
2.1.152 239 2/17/2024
2.1.151 190 2/17/2024
2.1.150 227 2/17/2024
2.1.149 207 2/16/2024
2.1.148 229 2/16/2024
2.1.147 220 2/16/2024
2.1.146 226 2/16/2024
2.1.145 215 2/16/2024
2.1.144 224 2/16/2024
2.1.143 208 2/16/2024
2.1.142 181 2/16/2024
2.1.141 222 2/14/2024
2.1.140 208 2/14/2024
2.1.139 210 2/14/2024
2.1.138 237 2/14/2024
2.1.137 210 2/13/2024
2.1.136 199 2/13/2024
2.1.135 191 2/13/2024
2.1.134 202 2/13/2024
2.1.133 218 2/13/2024
2.1.132 179 2/13/2024
2.1.131 235 2/13/2024
2.1.130 222 2/12/2024
2.1.129 249 2/12/2024
2.1.128 237 2/12/2024
2.1.127 252 2/11/2024
2.1.126 227 2/11/2024
2.1.125 218 2/11/2024
2.1.124 245 2/11/2024
2.1.123 232 2/11/2024
2.1.122 237 2/11/2024
2.1.121 241 2/11/2024
2.1.120 216 2/10/2024
2.1.119 223 2/10/2024
2.1.118 192 2/10/2024
2.1.117 242 2/10/2024
2.1.116 209 2/9/2024
2.1.115 232 2/9/2024
2.1.114 227 2/9/2024
2.1.113 220 2/9/2024
2.1.112 242 2/9/2024
2.1.111 212 2/9/2024
2.1.110 205 2/9/2024
2.1.109 225 2/8/2024
2.1.108 202 2/8/2024
2.1.107 200 2/8/2024
2.1.106 223 2/8/2024
2.1.105 190 2/8/2024
2.1.104 244 2/7/2024
2.1.103 220 2/7/2024
2.1.102 218 2/7/2024
2.1.101 225 2/7/2024
2.1.100 239 2/7/2024
2.1.99 246 2/7/2024
2.1.98 216 2/7/2024
2.1.97 237 2/6/2024
2.1.96 218 2/5/2024
2.1.95 236 2/5/2024
2.1.94 175 2/4/2024
2.1.93 224 2/4/2024
2.1.92 210 2/4/2024
2.1.91 220 2/3/2024
2.1.90 198 2/3/2024
2.1.89 208 2/2/2024
2.1.88 219 1/31/2024
2.1.87 244 1/31/2024
2.1.86 213 1/31/2024
2.1.85 198 1/31/2024
2.1.84 223 1/30/2024
2.1.83 214 1/30/2024
2.1.82 201 1/30/2024
2.1.81 223 1/29/2024
2.1.80 198 1/29/2024
2.1.79 213 1/29/2024
2.1.78 210 1/29/2024
2.1.77 211 1/29/2024
2.1.76 187 1/29/2024
2.1.75 195 1/29/2024
2.1.74 211 1/28/2024
2.1.73 229 1/28/2024
2.1.72 223 1/28/2024
2.1.71 211 1/28/2024
2.1.70 176 1/28/2024
2.1.69 225 1/28/2024
2.1.68 222 1/28/2024
2.1.67 213 1/27/2024
2.1.66 217 1/27/2024
2.1.65 193 1/27/2024
2.1.64 182 1/27/2024
2.1.63 240 1/27/2024
2.1.62 210 1/27/2024
2.1.61 197 1/27/2024
2.1.60 213 1/27/2024
2.1.59 203 1/26/2024
2.1.58 196 1/26/2024
2.1.57 231 1/26/2024
2.1.56 205 1/26/2024
2.1.55 237 1/26/2024
2.1.54 217 1/26/2024
2.1.53 222 1/26/2024
2.1.52 208 1/26/2024
2.1.51 184 1/25/2024
2.1.50 215 1/25/2024
2.1.49 234 1/25/2024
2.1.48 212 1/25/2024
2.1.47 216 1/25/2024
2.1.46 196 1/19/2024
2.1.45 223 1/19/2024
2.1.44 220 1/19/2024
2.1.43 255 1/16/2024
2.1.42 218 1/16/2024
2.1.41 241 1/15/2024
2.1.40 217 1/15/2024
2.1.39 202 1/15/2024
2.1.38 234 1/15/2024
2.1.37 215 1/15/2024
2.1.36 243 1/15/2024
2.1.35 242 1/14/2024
2.1.34 209 1/14/2024
2.1.33 219 1/14/2024
2.1.32 232 1/14/2024
2.1.31 195 1/13/2024
2.1.30 250 1/13/2024
2.1.29 237 1/13/2024
2.1.28 234 1/13/2024
2.1.27 217 1/13/2024
2.1.26 232 1/13/2024
2.1.25 236 1/12/2024
2.1.24 219 1/12/2024
2.1.23 228 1/11/2024
2.1.22 214 1/11/2024
2.1.21 245 1/11/2024
2.1.20 257 1/9/2024
2.1.19 239 1/8/2024
2.1.18 207 1/8/2024
2.1.17 230 1/8/2024
2.1.16 215 1/8/2024
2.1.15 230 1/5/2024
2.1.14 233 1/5/2024
2.1.13 255 1/5/2024
2.1.12 248 1/5/2024
2.1.11 194 1/5/2024
2.1.10 255 1/1/2024
2.1.9 246 1/1/2024
2.1.8 226 1/1/2024
2.1.7 268 1/1/2024
2.1.6 251 1/1/2024
2.1.5 243 1/1/2024
2.1.4 263 1/1/2024
2.1.3 225 1/1/2024
2.1.2 270 1/1/2024
2.1.1 250 1/1/2024