Table of Contents

Public classSealed AccentFoldingFilter

Namespace
Rowles.LeanLucene.Analysis.Filters
Assembly
Rowles.LeanLucene.dll

Normalises accented/diacritic characters to their ASCII base form (e.g., é→e, ñ→n, ü→u) for language-neutral matching. Uses Unicode canonical decomposition followed by stripping combining marks.

public sealed class AccentFoldingFilter : ITokenFilter
AccentFoldingFilter
Implements

Methods

Public method Apply(List<Token>)

Applies the filter to the token list, modifying it in place.

Internal methodStaticInternal Fold(string)

Folds accents and diacritics from the input string. Returns the original reference if no changes were needed.