pub mod normalization;
pub mod dialog_detector;
pub mod abbreviations;
pub use normalization::normalize_sentence;
pub use abbreviations::AbbreviationChecker;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Span {
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
}
#[derive(Debug, Clone)]
pub struct DetectedSentenceBorrowed<'a> {
pub index: usize,
pub raw_content: &'a str, pub span: Span,
}
impl<'a> DetectedSentenceBorrowed<'a> {
pub fn normalize(&self) -> String {
normalize_sentence(self.raw_content)
}
}