NReco.Text.AhoCorasickDoubleArrayTrie 1.0.2 Prefix Reserved

Install-Package NReco.Text.AhoCorasickDoubleArrayTrie -Version 1.0.2
dotnet add package NReco.Text.AhoCorasickDoubleArrayTrie --version 1.0.2
<PackageReference Include="NReco.Text.AhoCorasickDoubleArrayTrie" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.Text.AhoCorasickDoubleArrayTrie --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NReco.Text.AhoCorasickDoubleArrayTrie, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NReco.Text.AhoCorasickDoubleArrayTrie as a Cake Addin
#addin nuget:?package=NReco.Text.AhoCorasickDoubleArrayTrie&version=1.0.2

// Install NReco.Text.AhoCorasickDoubleArrayTrie as a Cake Tool
#tool nuget:?package=NReco.Text.AhoCorasickDoubleArrayTrie&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Very fast C# implementation of Aho Corasick algorithm based on Double Array Trie: efficient text search of many substrings with O(n) complexity. Automata state may be efficiently serialized to binary stream.

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
1.0.2 16,556 6/14/2019
1.0.1 1,711 12/13/2017
1.0.0 773 12/6/2017

How to use:

var keywords = new Dictionary<string,int>() { {"are", 1},  {"is", 1}, {"he", 2}, {"she", 2}, {"it", 2}, {"we", 2} };
var matcher = new AhoCorasickDoubleArrayTrie<int>( keywords );
var text = "we are all champions";
matcher.ParseText(text, (hit) => {
 Console.WriteLine("Matched: {0} = {1}", text.Substring(hit.Begin, hit.Length), hit.Value );
});