Skip to main content

Crate txt_cleaner

Crate txt_cleaner 

Source

Structs§

CleanBuilder
Builder for cleaning options.
CleanOptions
Options for txt-cleaner operations.

Functions§

clean
Clean text with the default safe options.
clean_with_builder
Clean text using a builder configuration.
clean_with_options
Clean text using explicit options.
trim_bom_and_zero_width
Remove BOM and zero-width characters from the input text.
trim_consecutive_whitespaces
Collapse whitespace while preserving paragraph structure.
trim_html_markdown_artifacts
Remove stray markdown/html artifacts from the text edges.