Section navigation

Public classSealed KeywordAnalyser

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

Analyser that treats the complete input as a single token.

public sealed class KeywordAnalyser : IAnalyser
Inheritance
KeywordAnalyser
Implements

Public constructor KeywordAnalyser(int)

Initialises a new KeywordAnalyser.

Public method Analyse(ReadOnlySpan<char>, ISpanTokenSink)

Analyses the input text and emits tokens synchronously into sink. Callers that require a materialised List<T> should use CountingTokenSink as the sink argument.