pub trait PreprocessingStep:
Debug
+ Send
+ Sync {
// Required methods
fn process(&self, text: &str) -> Result<String>;
fn name(&self) -> &str;
}Expand description
Trait for custom preprocessing steps
pub trait PreprocessingStep:
Debug
+ Send
+ Sync {
// Required methods
fn process(&self, text: &str) -> Result<String>;
fn name(&self) -> &str;
}Trait for custom preprocessing steps