Skip to main content

Crate normy

Crate normy 

Source

Re-exports§

pub use stage::case_fold::CaseFold;
pub use stage::lower_case::LowerCase;
pub use stage::normalization::NFC;
pub use stage::normalization::NFD;
pub use stage::normalization::NFKC;
pub use stage::normalization::NFKD;
pub use stage::normalize_punctuation::NormalizePunctuation;
pub use stage::normalize_whitespace::COLLAPSE_WHITESPACE;
pub use stage::normalize_whitespace::COLLAPSE_WHITESPACE_UNICODE;
pub use stage::normalize_whitespace::NORMALIZE_WHITESPACE_FULL;
pub use stage::normalize_whitespace::TRIM_WHITESPACE;
pub use stage::normalize_whitespace::TRIM_WHITESPACE_UNICODE;
pub use stage::remove_diacritics::RemoveDiacritics;
pub use stage::segment_words::SegmentWords;
pub use stage::strip_control_chars::StripControlChars;
pub use stage::strip_format_controls::StripFormatControls;
pub use stage::strip_html::StripHtml;
pub use stage::strip_markdown::StripMarkdown;
pub use stage::transliterate::Transliterate;
pub use stage::unify_width::UnifyWidth;
pub use lang::data::*;

Modules§

context
lang
process
stage
testing

Macros§

assert_stage_contract
Assert that a stage satisfies all seven universal contracts defined in the Normy white paper.

Structs§

DynamicNormyBuilder
Normy
NormyBuilder

Enums§

NormyError