Section navigation

Public classSealed ReverseStringFilter

Namespace
Rowles.LeanCorpus.Analysis.Filters
Assembly
Rowles.LeanCorpus.dll

Reverses the characters in each token.

public sealed class ReverseStringFilter : ISpanTokenFilter
Inheritance
ReverseStringFilter
Implements

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

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