Soenneker.Utils.String.LongestCommonSequence 2.1.271

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

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

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.303 92 4/20/2024
2.1.302 79 4/20/2024
2.1.301 70 4/19/2024
2.1.300 65 4/19/2024
2.1.299 67 4/19/2024
2.1.298 71 4/19/2024
2.1.297 73 4/19/2024
2.1.296 90 4/13/2024
2.1.295 81 4/13/2024
2.1.294 78 4/13/2024
2.1.293 74 4/12/2024
2.1.292 82 4/12/2024
2.1.291 76 4/12/2024
2.1.290 85 4/12/2024
2.1.289 68 4/12/2024
2.1.288 84 4/12/2024
2.1.287 93 4/12/2024
2.1.286 87 4/12/2024
2.1.285 75 4/11/2024
2.1.284 82 4/10/2024
2.1.283 70 4/10/2024
2.1.282 75 4/10/2024
2.1.281 75 4/10/2024
2.1.280 68 4/10/2024
2.1.279 88 4/3/2024
2.1.278 78 4/2/2024
2.1.277 76 4/2/2024
2.1.276 82 4/2/2024
2.1.275 89 4/1/2024
2.1.274 97 3/30/2024
2.1.273 91 3/29/2024
2.1.272 89 3/29/2024
2.1.271 111 3/25/2024
2.1.270 118 3/25/2024
2.1.269 120 3/25/2024
2.1.268 101 3/25/2024
2.1.267 123 3/21/2024
2.1.266 133 3/21/2024
2.1.265 127 3/21/2024
2.1.264 128 3/20/2024
2.1.263 130 3/20/2024
2.1.262 117 3/20/2024
2.1.261 126 3/19/2024
2.1.260 139 3/19/2024
2.1.259 108 3/19/2024
2.1.258 137 3/19/2024
2.1.257 123 3/19/2024
2.1.256 131 3/19/2024
2.1.255 142 3/18/2024
2.1.254 138 3/16/2024
2.1.253 144 3/16/2024
2.1.252 149 3/16/2024
2.1.251 108 3/15/2024
2.1.250 128 3/15/2024
2.1.249 121 3/14/2024
2.1.248 139 3/13/2024
2.1.247 134 3/13/2024
2.1.246 134 3/13/2024
2.1.245 143 3/13/2024
2.1.244 125 3/13/2024
2.1.243 136 3/13/2024
2.1.242 152 3/13/2024
2.1.241 136 3/13/2024
2.1.240 132 3/13/2024
2.1.239 125 3/12/2024
2.1.238 152 3/12/2024
2.1.237 121 3/12/2024
2.1.236 144 3/12/2024
2.1.235 167 3/12/2024
2.1.234 149 3/11/2024
2.1.233 164 3/11/2024
2.1.232 155 3/11/2024
2.1.231 147 3/11/2024
2.1.230 161 3/10/2024
2.1.229 162 3/10/2024
2.1.228 157 3/10/2024
2.1.227 161 3/10/2024
2.1.226 168 3/9/2024
2.1.225 182 3/9/2024
2.1.224 191 3/8/2024
2.1.223 145 3/8/2024
2.1.222 161 3/8/2024
2.1.221 134 3/8/2024
2.1.220 170 3/8/2024
2.1.219 175 3/8/2024
2.1.218 164 3/6/2024
2.1.217 168 3/6/2024
2.1.216 160 3/6/2024
2.1.215 184 3/4/2024
2.1.214 196 3/4/2024
2.1.213 186 3/4/2024
2.1.212 196 3/4/2024
2.1.211 169 3/4/2024
2.1.210 189 3/4/2024
2.1.209 162 3/3/2024
2.1.208 152 3/3/2024
2.1.207 177 3/3/2024
2.1.206 191 3/3/2024
2.1.205 189 3/2/2024
2.1.204 176 3/2/2024
2.1.203 189 3/2/2024
2.1.202 169 3/2/2024
2.1.201 187 3/2/2024
2.1.200 177 3/2/2024
2.1.199 185 3/2/2024
2.1.198 194 3/1/2024
2.1.197 168 2/29/2024
2.1.196 169 2/29/2024
2.1.195 191 2/29/2024
2.1.194 175 2/29/2024
2.1.193 156 2/29/2024
2.1.192 176 2/29/2024
2.1.191 203 2/29/2024
2.1.190 213 2/27/2024
2.1.189 192 2/26/2024
2.1.188 200 2/26/2024
2.1.187 205 2/25/2024
2.1.186 205 2/25/2024
2.1.185 183 2/25/2024
2.1.184 171 2/25/2024
2.1.183 214 2/24/2024
2.1.182 216 2/23/2024
2.1.181 230 2/23/2024
2.1.180 233 2/22/2024
2.1.179 189 2/22/2024
2.1.178 227 2/22/2024
2.1.177 198 2/22/2024
2.1.176 199 2/22/2024
2.1.175 198 2/22/2024
2.1.174 191 2/21/2024
2.1.173 224 2/21/2024
2.1.172 216 2/21/2024
2.1.171 197 2/21/2024
2.1.170 210 2/21/2024
2.1.169 196 2/21/2024
2.1.168 201 2/21/2024
2.1.167 203 2/20/2024
2.1.166 187 2/20/2024
2.1.165 203 2/20/2024
2.1.164 195 2/20/2024
2.1.163 229 2/20/2024
2.1.162 228 2/20/2024
2.1.161 194 2/20/2024
2.1.160 233 2/20/2024
2.1.159 211 2/19/2024
2.1.158 223 2/19/2024
2.1.157 208 2/19/2024
2.1.156 214 2/19/2024
2.1.155 221 2/19/2024
2.1.154 226 2/17/2024
2.1.153 233 2/17/2024
2.1.152 236 2/17/2024
2.1.151 187 2/17/2024
2.1.150 224 2/17/2024
2.1.149 204 2/16/2024
2.1.148 226 2/16/2024
2.1.147 217 2/16/2024
2.1.146 223 2/16/2024
2.1.145 206 2/16/2024
2.1.144 221 2/16/2024
2.1.143 205 2/16/2024
2.1.142 178 2/16/2024
2.1.141 219 2/14/2024
2.1.140 205 2/14/2024
2.1.139 202 2/14/2024
2.1.138 234 2/14/2024
2.1.137 207 2/13/2024
2.1.136 196 2/13/2024
2.1.135 188 2/13/2024
2.1.134 193 2/13/2024
2.1.133 215 2/13/2024
2.1.132 176 2/13/2024
2.1.131 232 2/13/2024
2.1.130 219 2/12/2024
2.1.129 246 2/12/2024
2.1.128 234 2/12/2024
2.1.127 249 2/11/2024
2.1.126 224 2/11/2024
2.1.125 216 2/11/2024
2.1.124 242 2/11/2024
2.1.123 229 2/11/2024
2.1.122 234 2/11/2024
2.1.121 232 2/11/2024
2.1.120 208 2/10/2024
2.1.119 220 2/10/2024
2.1.118 189 2/10/2024
2.1.117 239 2/10/2024
2.1.116 206 2/9/2024
2.1.115 229 2/9/2024
2.1.114 224 2/9/2024
2.1.113 217 2/9/2024
2.1.112 239 2/9/2024
2.1.111 209 2/9/2024
2.1.110 202 2/9/2024
2.1.109 222 2/8/2024
2.1.108 199 2/8/2024
2.1.107 197 2/8/2024
2.1.106 220 2/8/2024
2.1.105 187 2/8/2024
2.1.104 241 2/7/2024
2.1.103 217 2/7/2024
2.1.102 215 2/7/2024
2.1.101 222 2/7/2024
2.1.100 236 2/7/2024
2.1.99 243 2/7/2024
2.1.98 213 2/7/2024
2.1.97 234 2/6/2024
2.1.96 215 2/5/2024
2.1.95 233 2/5/2024
2.1.94 172 2/4/2024
2.1.93 221 2/4/2024
2.1.92 207 2/4/2024
2.1.91 211 2/3/2024
2.1.90 195 2/3/2024
2.1.89 205 2/2/2024
2.1.88 215 1/31/2024
2.1.87 241 1/31/2024
2.1.86 210 1/31/2024
2.1.85 189 1/31/2024
2.1.84 220 1/30/2024
2.1.83 211 1/30/2024
2.1.82 198 1/30/2024
2.1.81 220 1/29/2024
2.1.80 189 1/29/2024
2.1.79 210 1/29/2024
2.1.78 207 1/29/2024
2.1.77 208 1/29/2024
2.1.76 184 1/29/2024
2.1.75 192 1/29/2024
2.1.74 208 1/28/2024
2.1.73 226 1/28/2024
2.1.72 220 1/28/2024
2.1.71 208 1/28/2024
2.1.70 172 1/28/2024
2.1.69 221 1/28/2024
2.1.68 218 1/28/2024
2.1.67 209 1/27/2024
2.1.66 213 1/27/2024
2.1.65 189 1/27/2024
2.1.64 172 1/27/2024
2.1.63 236 1/27/2024
2.1.62 206 1/27/2024
2.1.61 193 1/27/2024
2.1.60 209 1/27/2024
2.1.59 199 1/26/2024
2.1.58 192 1/26/2024
2.1.57 227 1/26/2024
2.1.56 195 1/26/2024
2.1.55 234 1/26/2024
2.1.54 208 1/26/2024
2.1.53 218 1/26/2024
2.1.52 204 1/26/2024
2.1.51 175 1/25/2024
2.1.50 212 1/25/2024
2.1.49 231 1/25/2024
2.1.48 209 1/25/2024
2.1.47 213 1/25/2024
2.1.46 188 1/19/2024
2.1.45 220 1/19/2024
2.1.44 217 1/19/2024
2.1.43 252 1/16/2024
2.1.42 215 1/16/2024
2.1.41 238 1/15/2024
2.1.40 214 1/15/2024
2.1.39 199 1/15/2024
2.1.38 231 1/15/2024
2.1.37 212 1/15/2024
2.1.36 240 1/15/2024
2.1.35 239 1/14/2024
2.1.34 206 1/14/2024
2.1.33 210 1/14/2024
2.1.32 229 1/14/2024
2.1.31 192 1/13/2024
2.1.30 247 1/13/2024
2.1.29 234 1/13/2024
2.1.28 231 1/13/2024
2.1.27 214 1/13/2024
2.1.26 229 1/13/2024
2.1.25 233 1/12/2024
2.1.24 215 1/12/2024
2.1.23 224 1/11/2024
2.1.22 208 1/11/2024
2.1.21 240 1/11/2024
2.1.20 251 1/9/2024
2.1.19 236 1/8/2024
2.1.18 198 1/8/2024
2.1.17 227 1/8/2024
2.1.16 209 1/8/2024
2.1.15 227 1/5/2024
2.1.14 230 1/5/2024
2.1.13 252 1/5/2024
2.1.12 239 1/5/2024
2.1.11 191 1/5/2024
2.1.10 252 1/1/2024
2.1.9 243 1/1/2024
2.1.8 223 1/1/2024
2.1.7 265 1/1/2024
2.1.6 248 1/1/2024
2.1.5 239 1/1/2024
2.1.4 260 1/1/2024
2.1.3 222 1/1/2024
2.1.2 267 1/1/2024
2.1.1 247 1/1/2024