
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
Apply(List<Token>)
Applies the filter to the token list, modifying it in place.
Fold(string)
Folds accents and diacritics from the input string. Returns the original reference if no changes were needed.