rupantor 0.3.0

A Bengali Phonetic Parser which is very flexible and supports Avro Phonetic
Documentation
1
2
3
4
5
6
7
8
9
use rupantor::parser::PhoneticParser;

fn main() {
    // Parse the rule file
    let js = serde_json::from_str(include_str!("../src/AvroPhonetic.json")).unwrap();

    let cvt = PhoneticParser::new(&js);
    println!("{}", cvt.convert("ami banglay gan gai"));
}