sentencex 0.1.30

Sentence segmentation library with wide language support optimized for speed and utility.
Documentation
use rustc_hash::FxHashSet;

use super::{Hindi, Language};

#[derive(Debug, Clone)]
pub struct Marathi {}

impl Language for Marathi {
    fn get_abbreviations(&self) -> &FxHashSet<String> {
        Hindi {}.get_abbreviations()
    }
}

#[cfg(test)]
mod tests {
    use crate::languages::tests::run_language_tests;

    use super::*;

    #[test]
    fn test_segment() {
        run_language_tests(Marathi {}, "tests/mr.txt");
    }
}