Section navigation

Public classSealed 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

Public constructor HunspellStemFilter(HunspellDictionary, bool)

Initialises a new HunspellStemFilter.

Public method Apply(ReadOnlySpan<char>, int, int, string, int, byte[]?, ISpanTokenSink)

Applies the filter to a token and emits the transformed token into sink.