Table of Contents

Public interface IKStemLexicon

Namespace
Rowles.LeanCorpus.Analysis.Stemmers
Assembly
Rowles.LeanCorpus.dll

Provides the base-form lexicon used by KStemmer to validate stem candidates.

public interface IKStemLexicon

Public method Contains(ReadOnlySpan<char>)

Returns true when word is a known base form.

Public method Contains(string)

Returns true when word is a known base form.

Public method ContainsPreLowered(ReadOnlySpan<char>)

Returns true when word is a known base form. The caller guarantees the input is already lowercased, so the implementation can skip the internal ToLowerInvariant step.