pub trait TextNormalizer {
// Required method
fn normalize(&self, text: &str) -> Result<String>;
// Provided method
fn normalize_batch(&self, texts: &[&str]) -> Result<Vec<String>> { ... }
}Expand description
Trait for text normalization operations