Soenneker.Utils.String.LongestCommonSequence
4.0.1014
Prefix Reserved
dotnet add package Soenneker.Utils.String.LongestCommonSequence --version 4.0.1014
NuGet\Install-Package Soenneker.Utils.String.LongestCommonSequence -Version 4.0.1014
<PackageReference Include="Soenneker.Utils.String.LongestCommonSequence" Version="4.0.1014" />
<PackageVersion Include="Soenneker.Utils.String.LongestCommonSequence" Version="4.0.1014" />
<PackageReference Include="Soenneker.Utils.String.LongestCommonSequence" />
paket add Soenneker.Utils.String.LongestCommonSequence --version 4.0.1014
#r "nuget: Soenneker.Utils.String.LongestCommonSequence, 4.0.1014"
#:package Soenneker.Utils.String.LongestCommonSequence@4.0.1014
#addin nuget:?package=Soenneker.Utils.String.LongestCommonSequence&version=4.0.1014
#tool nuget:?package=Soenneker.Utils.String.LongestCommonSequence&version=4.0.1014
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
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 |
|---|---|---|
| 4.0.1014 | 95 | 5/12/2026 |
| 4.0.1013 | 105 | 4/23/2026 |
| 4.0.1012 | 104 | 4/21/2026 |
| 4.0.1011 | 100 | 4/14/2026 |
| 4.0.1010 | 116 | 3/12/2026 |
| 4.0.1005 | 112 | 3/10/2026 |
| 4.0.1004 | 108 | 3/10/2026 |
| 4.0.1003 | 105 | 3/9/2026 |
| 4.0.1002 | 100 | 3/9/2026 |
| 4.0.1001 | 99 | 3/4/2026 |
| 4.0.1000 | 119 | 2/10/2026 |
| 4.0.999 | 120 | 1/13/2026 |
| 4.0.998 | 127 | 1/2/2026 |
| 4.0.997 | 464 | 12/9/2025 |
| 4.0.996 | 446 | 11/20/2025 |
| 4.0.995 | 319 | 11/11/2025 |
| 4.0.994 | 196 | 11/6/2025 |
| 4.0.993 | 220 | 10/29/2025 |
| 3.0.992 | 287 | 10/14/2025 |
| 3.0.991 | 226 | 9/9/2025 |
Update dependency Microsoft.Extensions.DependencyInjection.Abstractions to 10.0.8 (#1403)