Soenneker.Utils.String.LongestCommonSequence 2.1.390

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.390
NuGet\Install-Package Soenneker.Utils.String.LongestCommonSequence -Version 2.1.390
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.390" />
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.390
#r "nuget: Soenneker.Utils.String.LongestCommonSequence, 2.1.390"
#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.390

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

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