Soenneker.Utils.String.Trie 2.1.37

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.String.Trie --version 2.1.37                
NuGet\Install-Package Soenneker.Utils.String.Trie -Version 2.1.37                
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.Trie" Version="2.1.37" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.String.Trie --version 2.1.37                
#r "nuget: Soenneker.Utils.String.Trie, 2.1.37"                
#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.Trie as a Cake Addin
#addin nuget:?package=Soenneker.Utils.String.Trie&version=2.1.37

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

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.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 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.
  • .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.254 35 9/29/2024
2.1.253 31 9/29/2024
2.1.252 34 9/29/2024
2.1.251 33 9/29/2024
2.1.250 43 9/29/2024
2.1.249 33 9/27/2024
2.1.248 32 9/27/2024
2.1.247 33 9/27/2024
2.1.246 33 9/27/2024
2.1.245 33 9/27/2024
2.1.244 33 9/27/2024
2.1.243 39 9/27/2024
2.1.242 33 9/26/2024
2.1.241 38 9/26/2024
2.1.240 29 9/26/2024
2.1.239 33 9/26/2024
2.1.238 35 9/26/2024
2.1.237 27 9/26/2024
2.1.236 34 9/26/2024
2.1.235 30 9/26/2024
2.1.234 36 9/23/2024
2.1.233 36 9/23/2024
2.1.232 37 9/23/2024
2.1.231 38 9/23/2024
2.1.230 61 9/23/2024
2.1.229 62 9/23/2024
2.1.228 64 9/23/2024
2.1.227 63 9/23/2024
2.1.226 75 9/18/2024
2.1.225 79 9/18/2024
2.1.224 66 9/18/2024
2.1.223 70 9/18/2024
2.1.222 70 9/18/2024
2.1.221 71 9/17/2024
2.1.220 74 9/17/2024
2.1.218 69 9/17/2024
2.1.217 61 9/17/2024
2.1.216 79 9/17/2024
2.1.215 64 9/17/2024
2.1.214 54 9/17/2024
2.1.213 63 9/16/2024
2.1.212 86 9/16/2024
2.1.211 91 9/12/2024
2.1.210 82 9/12/2024
2.1.209 91 9/11/2024
2.1.208 90 9/11/2024
2.1.207 90 9/11/2024
2.1.206 92 9/11/2024
2.1.205 84 9/11/2024
2.1.204 89 9/10/2024
2.1.203 106 9/10/2024
2.1.202 80 9/10/2024
2.1.201 87 9/10/2024
2.1.200 80 9/10/2024
2.1.199 91 9/10/2024
2.1.198 97 9/10/2024
2.1.197 65 9/9/2024
2.1.195 86 9/9/2024
2.1.194 71 9/9/2024
2.1.193 83 9/9/2024
2.1.192 91 9/9/2024
2.1.191 79 9/7/2024
2.1.190 66 9/7/2024
2.1.189 79 9/7/2024
2.1.188 90 9/6/2024
2.1.187 92 9/6/2024
2.1.186 90 9/6/2024
2.1.185 87 9/5/2024
2.1.184 88 9/5/2024
2.1.183 77 9/5/2024
2.1.182 85 9/5/2024
2.1.181 82 9/5/2024
2.1.180 76 9/5/2024
2.1.179 81 9/5/2024
2.1.178 72 9/5/2024
2.1.177 67 9/4/2024
2.1.176 82 9/4/2024
2.1.175 78 9/3/2024
2.1.174 88 9/3/2024
2.1.173 82 9/3/2024
2.1.172 84 9/3/2024
2.1.171 76 9/3/2024
2.1.170 86 9/3/2024
2.1.169 84 8/29/2024
2.1.168 80 8/29/2024
2.1.167 75 8/29/2024
2.1.166 87 8/26/2024
2.1.165 83 8/26/2024
2.1.164 102 8/26/2024
2.1.163 100 8/21/2024
2.1.162 113 8/21/2024
2.1.161 111 8/21/2024
2.1.160 98 8/21/2024
2.1.159 113 8/20/2024
2.1.158 109 8/20/2024
2.1.157 90 8/20/2024
2.1.156 94 8/20/2024
2.1.155 108 8/20/2024
2.1.154 104 8/20/2024
2.1.153 108 8/19/2024
2.1.152 104 8/15/2024
2.1.151 112 8/15/2024
2.1.150 105 8/15/2024
2.1.149 106 8/14/2024
2.1.148 91 8/14/2024
2.1.147 81 8/14/2024
2.1.146 106 8/13/2024
2.1.145 80 8/7/2024
2.1.144 80 8/7/2024
2.1.143 81 8/7/2024
2.1.142 77 8/6/2024
2.1.141 67 8/6/2024
2.1.140 58 8/1/2024
2.1.139 54 8/1/2024
2.1.137 72 7/25/2024
2.1.136 69 7/25/2024
2.1.135 65 7/25/2024
2.1.134 69 7/25/2024
2.1.133 65 7/25/2024
2.1.132 79 7/25/2024
2.1.131 73 7/25/2024
2.1.130 75 7/24/2024
2.1.129 76 7/24/2024
2.1.128 71 7/20/2024
2.1.127 92 7/20/2024
2.1.126 88 7/20/2024
2.1.125 80 7/14/2024
2.1.124 81 7/14/2024
2.1.123 85 7/14/2024
2.1.122 80 7/14/2024
2.1.121 84 7/14/2024
2.1.120 82 7/10/2024
2.1.119 81 7/10/2024
2.1.118 82 7/10/2024
2.1.117 73 7/10/2024
2.1.115 80 7/10/2024
2.1.114 75 7/10/2024
2.1.113 80 7/10/2024
2.1.112 79 7/10/2024
2.1.111 68 7/10/2024
2.1.109 85 7/10/2024
2.1.108 90 7/9/2024
2.1.106 54 7/9/2024
2.1.105 75 7/9/2024
2.1.104 74 7/9/2024
2.1.103 83 7/9/2024
2.1.102 82 7/9/2024
2.1.101 84 7/9/2024
2.1.100 85 7/9/2024
2.1.99 85 7/9/2024
2.1.98 68 7/8/2024
2.1.97 91 7/8/2024
2.1.96 87 7/8/2024
2.1.95 86 7/8/2024
2.1.94 93 7/8/2024
2.1.93 85 7/8/2024
2.1.92 92 7/7/2024
2.1.91 94 7/7/2024
2.1.90 97 7/3/2024
2.1.89 78 7/3/2024
2.1.88 96 7/3/2024
2.1.87 92 7/3/2024
2.1.86 83 7/3/2024
2.1.85 90 6/27/2024
2.1.84 81 6/27/2024
2.1.83 72 6/27/2024
2.1.82 104 6/22/2024
2.1.81 92 6/22/2024
2.1.80 102 6/22/2024
2.1.79 95 6/16/2024
2.1.78 80 6/15/2024
2.1.77 86 6/15/2024
2.1.76 87 6/15/2024
2.1.75 85 6/15/2024
2.1.74 96 6/15/2024
2.1.73 76 6/15/2024
2.1.72 94 6/15/2024
2.1.71 74 6/14/2024
2.1.70 98 6/4/2024
2.1.69 85 6/4/2024
2.1.68 101 6/2/2024
2.1.67 94 6/2/2024
2.1.66 101 6/1/2024
2.1.65 88 6/1/2024
2.1.64 94 6/1/2024
2.1.63 89 6/1/2024
2.1.62 97 6/1/2024
2.1.61 88 6/1/2024
2.1.60 92 6/1/2024
2.1.59 84 5/31/2024
2.1.58 98 5/31/2024
2.1.57 95 5/31/2024
2.1.56 93 5/31/2024
2.1.55 98 5/29/2024
2.1.54 92 5/29/2024
2.1.53 99 5/29/2024
2.1.52 91 5/28/2024
2.1.51 91 5/28/2024
2.1.50 92 5/28/2024
2.1.49 95 5/28/2024
2.1.48 99 5/28/2024
2.1.47 77 5/27/2024
2.1.46 87 5/27/2024
2.1.45 91 5/27/2024
2.1.44 94 5/27/2024
2.1.43 92 5/26/2024
2.1.42 94 5/26/2024
2.1.41 100 5/26/2024
2.1.40 89 5/26/2024
2.1.39 93 5/26/2024
2.1.38 102 5/26/2024
2.1.37 76 5/25/2024
2.1.36 91 5/25/2024
2.1.35 111 5/25/2024
2.1.34 95 5/25/2024
2.1.33 94 5/25/2024
2.1.32 92 5/23/2024
2.1.31 81 5/23/2024
2.1.30 94 5/23/2024
2.1.29 89 5/23/2024
2.1.28 85 5/23/2024
2.1.27 97 5/23/2024
2.1.26 93 5/23/2024
2.1.25 94 5/22/2024
2.1.24 97 5/22/2024
2.1.23 101 5/22/2024
2.1.22 95 5/22/2024
2.1.21 71 5/18/2024
2.1.20 73 5/18/2024
2.1.19 66 5/18/2024
2.1.18 76 5/18/2024
2.1.17 76 5/17/2024
2.1.16 79 5/17/2024
2.1.15 55 5/17/2024
2.1.14 81 5/16/2024
2.1.13 72 5/16/2024
2.1.12 80 5/16/2024
2.1.11 81 5/15/2024
2.1.10 72 5/15/2024
2.1.9 81 5/15/2024
2.1.8 79 5/14/2024
2.1.7 59 5/14/2024
2.1.6 57 5/14/2024
2.1.5 62 5/14/2024
2.1.4 42 5/14/2024
2.1.3 60 5/14/2024
2.1.2 64 5/14/2024
2.1.1 63 5/14/2024