
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
PhoneticAlternatesFilter(bool, int)
Initialises a new PhoneticAlternatesFilter.
Apply(ReadOnlySpan<char>, int, int, string, int, byte[]?, ISpanTokenSink)
Applies the filter to a token and emits the transformed token into sink.