Soenneker.Utils.String.Trie
2.1.82
Prefix Reserved
dotnet add package Soenneker.Utils.String.Trie --version 2.1.82
NuGet\Install-Package Soenneker.Utils.String.Trie -Version 2.1.82
<PackageReference Include="Soenneker.Utils.String.Trie" Version="2.1.82" />
paket add Soenneker.Utils.String.Trie --version 2.1.82
#r "nuget: Soenneker.Utils.String.Trie, 2.1.82"
// Install Soenneker.Utils.String.Trie as a Cake Addin
#addin nuget:?package=Soenneker.Utils.String.Trie&version=2.1.82
// Install Soenneker.Utils.String.Trie as a Cake Tool
#tool nuget:?package=Soenneker.Utils.String.Trie&version=2.1.82
Soenneker.Utils.String.Trie
A utility library for comparing strings via trie (prefix tree) similarity
Installation
dotnet add package Soenneker.Utils.String.Trie
Why?
Imagine you have two strings. Trie-based matching helps you figure out how similar they are by looking at the prefixes they share. Here's why it's handy:
Easy to Understand:
Trie-based matching is straightforward. It helps identify common prefixes between two strings, providing an intuitive measure of similarity.
Not Bothered by Length:
Whether a string is long or short doesn't throw off trie-based matching. It cares more about the common prefixes than the total length of the strings.
Efficient for Big Tasks:
When you're dealing with lots of strings or large texts, trie-based matching is efficient. It quickly identifies common prefixes without getting bogged down by complicated calculations, making it a practical choice for large datasets.
Usage
string str1 = "hello";
string str2 = "hell";
double similarity = TrieStringSimilarityUtil.CalculateSimilarityPercentage(str1, str2); // 80
Product | Versions 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. |
-
.NETStandard 2.1
- No dependencies.
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.82 | 34 | 6/22/2024 |
2.1.81 | 34 | 6/22/2024 |
2.1.80 | 36 | 6/22/2024 |
2.1.79 | 65 | 6/16/2024 |
2.1.78 | 66 | 6/15/2024 |
2.1.77 | 61 | 6/15/2024 |
2.1.76 | 61 | 6/15/2024 |
2.1.75 | 60 | 6/15/2024 |
2.1.74 | 69 | 6/15/2024 |
2.1.73 | 61 | 6/15/2024 |
2.1.72 | 67 | 6/15/2024 |
2.1.71 | 62 | 6/14/2024 |
2.1.70 | 68 | 6/4/2024 |
2.1.69 | 71 | 6/4/2024 |
2.1.68 | 77 | 6/2/2024 |
2.1.67 | 68 | 6/2/2024 |
2.1.66 | 72 | 6/1/2024 |
2.1.65 | 63 | 6/1/2024 |
2.1.64 | 70 | 6/1/2024 |
2.1.63 | 61 | 6/1/2024 |
2.1.62 | 72 | 6/1/2024 |
2.1.61 | 61 | 6/1/2024 |
2.1.60 | 68 | 6/1/2024 |
2.1.59 | 59 | 5/31/2024 |
2.1.58 | 71 | 5/31/2024 |
2.1.57 | 66 | 5/31/2024 |
2.1.56 | 65 | 5/31/2024 |
2.1.55 | 70 | 5/29/2024 |
2.1.54 | 69 | 5/29/2024 |
2.1.53 | 71 | 5/29/2024 |
2.1.52 | 68 | 5/28/2024 |
2.1.51 | 66 | 5/28/2024 |
2.1.50 | 68 | 5/28/2024 |
2.1.49 | 71 | 5/28/2024 |
2.1.48 | 68 | 5/28/2024 |
2.1.47 | 65 | 5/27/2024 |
2.1.46 | 63 | 5/27/2024 |
2.1.45 | 64 | 5/27/2024 |
2.1.44 | 65 | 5/27/2024 |
2.1.43 | 65 | 5/26/2024 |
2.1.42 | 71 | 5/26/2024 |
2.1.41 | 72 | 5/26/2024 |
2.1.40 | 67 | 5/26/2024 |
2.1.39 | 71 | 5/26/2024 |
2.1.38 | 74 | 5/26/2024 |
2.1.37 | 65 | 5/25/2024 |
2.1.36 | 68 | 5/25/2024 |
2.1.35 | 70 | 5/25/2024 |
2.1.34 | 72 | 5/25/2024 |
2.1.33 | 71 | 5/25/2024 |
2.1.32 | 70 | 5/23/2024 |
2.1.31 | 71 | 5/23/2024 |
2.1.30 | 68 | 5/23/2024 |
2.1.29 | 66 | 5/23/2024 |
2.1.28 | 63 | 5/23/2024 |
2.1.27 | 72 | 5/23/2024 |
2.1.26 | 71 | 5/23/2024 |
2.1.25 | 72 | 5/22/2024 |
2.1.24 | 69 | 5/22/2024 |
2.1.23 | 76 | 5/22/2024 |
2.1.22 | 71 | 5/22/2024 |
2.1.21 | 51 | 5/18/2024 |
2.1.20 | 46 | 5/18/2024 |
2.1.19 | 45 | 5/18/2024 |
2.1.18 | 50 | 5/18/2024 |
2.1.17 | 53 | 5/17/2024 |
2.1.16 | 57 | 5/17/2024 |
2.1.15 | 46 | 5/17/2024 |
2.1.14 | 56 | 5/16/2024 |
2.1.13 | 53 | 5/16/2024 |
2.1.12 | 54 | 5/16/2024 |
2.1.11 | 57 | 5/15/2024 |
2.1.10 | 51 | 5/15/2024 |
2.1.9 | 55 | 5/15/2024 |
2.1.8 | 51 | 5/14/2024 |
2.1.7 | 47 | 5/14/2024 |
2.1.6 | 36 | 5/14/2024 |
2.1.5 | 38 | 5/14/2024 |
2.1.4 | 34 | 5/14/2024 |
2.1.3 | 39 | 5/14/2024 |
2.1.2 | 44 | 5/14/2024 |
2.1.1 | 43 | 5/14/2024 |