use anyhow::Result;
pub trait OutputFormatter: Send + Sync {
fn format_sentence(&mut self, sentence: &str, offset: usize) -> Result<()>;
fn finish(&mut self) -> Result<()>;
}
pub mod json;
pub mod markdown;
pub mod text;
pub use json::JsonFormatter;
pub use markdown::MarkdownFormatter;
pub use text::TextFormatter;