Section navigation

Public classSealed HtmlStripCharFilter

Namespace
Rowles.LeanCorpus.Analysis.Filters
Assembly
Rowles.LeanCorpus.dll

Strips HTML/XML tags and HTML entities from input text, leaving only text content. Uses a span-based scanner to avoid regex allocations.

public sealed class HtmlStripCharFilter : ICharFilter
Inheritance
HtmlStripCharFilter
Implements

Public method Filter(ReadOnlySpan<char>)

Transforms the input text, returning filtered text ready for tokenisation.