
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
KeywordAnalyser(int)
Initialises a new KeywordAnalyser.
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.