
HunspellStemFilter
- Namespace
- Rowles.LeanCorpus.Analysis.Filters
- Assembly
- Rowles.LeanCorpus.dll
Stems tokens using a pre-parsed HunspellDictionary.
public sealed class HunspellStemFilter : ISpanTokenFilter
- Inheritance
-
HunspellStemFilter
- Implements
HunspellStemFilter(HunspellDictionary, bool)
Initialises a new HunspellStemFilter.
Apply(ReadOnlySpan<char>, int, int, string, int, byte[]?, ISpanTokenSink)
Applies the filter to a token and emits the transformed token into sink.