
SlovakStemmer
- Namespace
- Rowles.LeanCorpus.Analysis.Stemmers
- Assembly
- Rowles.LeanCorpus.dll
Slovak stemmer. Expects UTF-8 normalized input with diacritics.
public sealed class SlovakStemmer : ISpanStemmer
- Inheritance
-
SlovakStemmer
- Implements
Stem(ReadOnlySpan<char>, Span<char>)
Stems word into output.
Returns the length of the stemmed result, or -1 if output is too small.
The caller must ensure output.Length >= word.Length for guaranteed success.
Stem(string)
Stems the given word and returns the stemmed result as a string. Short words (fewer than 4 characters) are returned unchanged.