Section navigation

Public classSealed PhoneticAlternatesFilter

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

Emits bounded Latin-name phonetic alternates at the same token position.

public sealed class PhoneticAlternatesFilter : ISpanTokenFilter
Inheritance
PhoneticAlternatesFilter
Implements

Public constructor PhoneticAlternatesFilter(bool, int)

Initialises a new PhoneticAlternatesFilter.

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

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