Table of Contents

Public classSealed PorterStemmerFilter

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

Porter Stemming Algorithm implementation as an ITokenFilter. Based on the Porter 1980 specification for English stemming. Operates on tokens in-place, replacing text with stemmed form.

public sealed class PorterStemmerFilter : ITokenFilter
PorterStemmerFilter
Implements

Public method Apply(List<Token>)

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

Internal methodInternal Stem(string)