PersianStemmer.Core by htaghizadeh,jalalx

<PackageReference Include="PersianStemmer.Core" Version="1.0.0" />

 Trie<TValue>

class Trie<TValue> : IEnumerable, IEnumerable<TrieNodeBase<TValue>>
public class TrieNode<TValue> : TrieNodeBase<TValue>

public abstract class TrieNodeBase<TValue>

public static int c_sparse_nodes

public int c_nodes

public TrieNodeBase<TValue> Root { get; }

public IEnumerable<TValue> Values { get; }

public Trie()

public TrieNodeBase<TValue> Add(string s, TValue v)

public IEnumerable<TValue> AllSubstringValues(string s)

public bool Contains(string s)

public TValue ContainsKey(string s_in)

public void DepthFirstTraverse(Action<string, TrieNodeBase<TValue>> callback)

public void EnumerateLeafPaths(Action<string, IEnumerable<TrieNodeBase<TValue>>> callback)

public IEnumerable<TValue> FindAll(string s_in)

public TrieNodeBase<TValue> FindNode(string s_in)

public TrieNodeBase<TValue> FindNodeOrLast(string s_in, out bool f_exact)

public IEnumerable<TValue> GetAllValues(IEnumerable<string> words)

public IEnumerable<TValue> GetAllValuesWithDef(IEnumerable<string> words, Func<string, TValue> def)

public string GetKey(TrieNodeBase<TValue> seek)

public string GetKey(TValue seek)

public bool IsEmpty()

public void OptimizeSparseNodes()

public IEnumerable<TrieNodeBase<TValue>> SubsumedNodes(string s)

public IEnumerable<TValue> SubsumedValues(string s)

public Trie<TNew> ToTrie<TNew>(Func<TValue, TNew> value_converter)