Section navigation

Public classSealed MetaphoneFilter

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

Emits Metaphone encodings for tokens.

public sealed class MetaphoneFilter : ISpanTokenFilter
Inheritance
MetaphoneFilter
Implements

Public constructor MetaphoneFilter(bool)

Initialises a new MetaphoneFilter.

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

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