pub mod conllu;
pub mod exmaralda;
pub mod graphml;
pub(crate) mod meta;
pub mod saltxml;
pub mod sequence;
pub(crate) mod table;
pub mod textgrid;
pub mod treetagger;
pub mod xlsx;
use crate::{StepID, workflow::StatusSender};
use graphannis::AnnotationGraph;
use std::path::Path;
pub trait Exporter: Sync {
fn export_corpus(
&self,
graph: &AnnotationGraph,
output_path: &Path,
step_id: StepID,
tx: Option<StatusSender>,
) -> Result<(), Box<dyn std::error::Error>>;
fn file_extension(&self) -> &str;
}