Soenneker.Utils.String.Trie
2.1.55
Prefix Reserved
dotnet add package Soenneker.Utils.String.Trie --version 2.1.55
NuGet\Install-Package Soenneker.Utils.String.Trie -Version 2.1.55
<PackageReference Include="Soenneker.Utils.String.Trie" Version="2.1.55" />
paket add Soenneker.Utils.String.Trie --version 2.1.55
#r "nuget: Soenneker.Utils.String.Trie, 2.1.55"
// Install Soenneker.Utils.String.Trie as a Cake Addin
#addin nuget:?package=Soenneker.Utils.String.Trie&version=2.1.55
// Install Soenneker.Utils.String.Trie as a Cake Tool
#tool nuget:?package=Soenneker.Utils.String.Trie&version=2.1.55
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.55 | 0 | 5/29/2024 |
2.1.54 | 11 | 5/29/2024 |
2.1.53 | 24 | 5/29/2024 |
2.1.52 | 34 | 5/28/2024 |
2.1.51 | 31 | 5/28/2024 |
2.1.50 | 33 | 5/28/2024 |
2.1.49 | 34 | 5/28/2024 |
2.1.48 | 31 | 5/28/2024 |
2.1.47 | 36 | 5/27/2024 |
2.1.46 | 58 | 5/27/2024 |
2.1.45 | 59 | 5/27/2024 |
2.1.44 | 60 | 5/27/2024 |
2.1.43 | 60 | 5/26/2024 |
2.1.42 | 64 | 5/26/2024 |
2.1.41 | 64 | 5/26/2024 |
2.1.40 | 62 | 5/26/2024 |
2.1.39 | 67 | 5/26/2024 |
2.1.38 | 70 | 5/26/2024 |
2.1.37 | 61 | 5/25/2024 |
2.1.36 | 59 | 5/25/2024 |
2.1.35 | 64 | 5/25/2024 |
2.1.34 | 66 | 5/25/2024 |
2.1.33 | 65 | 5/25/2024 |
2.1.32 | 67 | 5/23/2024 |
2.1.31 | 68 | 5/23/2024 |
2.1.30 | 65 | 5/23/2024 |
2.1.29 | 63 | 5/23/2024 |
2.1.28 | 60 | 5/23/2024 |
2.1.27 | 69 | 5/23/2024 |
2.1.26 | 67 | 5/23/2024 |
2.1.25 | 68 | 5/22/2024 |
2.1.24 | 66 | 5/22/2024 |
2.1.23 | 74 | 5/22/2024 |
2.1.22 | 69 | 5/22/2024 |
2.1.21 | 48 | 5/18/2024 |
2.1.20 | 43 | 5/18/2024 |
2.1.19 | 42 | 5/18/2024 |
2.1.18 | 47 | 5/18/2024 |
2.1.17 | 49 | 5/17/2024 |
2.1.16 | 53 | 5/17/2024 |
2.1.15 | 43 | 5/17/2024 |
2.1.14 | 53 | 5/16/2024 |
2.1.13 | 50 | 5/16/2024 |
2.1.12 | 51 | 5/16/2024 |
2.1.11 | 54 | 5/15/2024 |
2.1.10 | 49 | 5/15/2024 |
2.1.9 | 53 | 5/15/2024 |
2.1.8 | 49 | 5/14/2024 |
2.1.7 | 45 | 5/14/2024 |
2.1.6 | 32 | 5/14/2024 |
2.1.5 | 35 | 5/14/2024 |
2.1.4 | 32 | 5/14/2024 |
2.1.3 | 37 | 5/14/2024 |
2.1.2 | 42 | 5/14/2024 |
2.1.1 | 42 | 5/14/2024 |