Table of Contents

Public classSealed SimpleAnalyser

Namespace
Rowles.LeanCorpus.Analysis.Analysers
Assembly
Rowles.LeanCorpus.dll

Analyser that splits text into letter-only tokens and lowercases them without stop-word removal. The returned token list is reused across calls; callers must not hold references to it beyond the current invocation.

Thread-safety: This class maintains instance-level buffers for performance. Each instance should be used by a single thread, or callers should create separate instances per thread.

public sealed class SimpleAnalyser : IAnalyser
SimpleAnalyser
Implements

Constructors

Public constructor SimpleAnalyser(int)

Initialises a new SimpleAnalyser.

Methods

Public method Analyse(ReadOnlySpan<char>)

Analyses the input text and returns a list of tokens.