pub trait FormatParser {
// Required method
fn parse(&self, input: &str) -> Vec<Region>;
}Expand description
Trait for format-specific parsers that classify text into regions.
pub trait FormatParser {
// Required method
fn parse(&self, input: &str) -> Vec<Region>;
}Trait for format-specific parsers that classify text into regions.