#bangla #bengali #avro #avro-phonetic

rupantor

A Bengali Phonetic Parser which is very flexible and supports Avro Phonetic

3 releases (breaking)

0.3.0 Sep 22, 2020
0.2.0 Oct 6, 2018
0.1.0 Jun 6, 2018

#3 in #bengali

Download history 16/week @ 2022-11-28 17/week @ 2022-12-05 14/week @ 2022-12-12 17/week @ 2022-12-19 23/week @ 2022-12-26 17/week @ 2023-01-02 25/week @ 2023-01-09 20/week @ 2023-01-16 25/week @ 2023-01-23 27/week @ 2023-01-30 16/week @ 2023-02-06 26/week @ 2023-02-13 30/week @ 2023-02-20 12/week @ 2023-02-27 18/week @ 2023-03-06 16/week @ 2023-03-13

80 downloads per month
Used in okkhor

MPL-2.0 license

39KB
649 lines

rupantor-rs

Build Status Rust crates.io DOCS.rs

A Bengali Phonetic Parser which is very flexible and converts text into Bengali according to a json formatted grammar.

rupantor supports Avro Phonetic out of the box, which is a very popular phonetic based transliteration method for writing Bengali. rupantor is very flexible as it is possible to control the conversion by specifying the grammar/conversion rules. So it is possible by the user to create a phonetic method by specifying a custom grammar.

Usage

Add this to your Cargo.toml:

[dependencies]
rupantor = "0.3"

Example

This example shows how to use Avro Phonetic:

use rupantor::avro::AvroPhonetic;

let avro = AvroPhonetic::new();
let bengali = avro.convert("ami banglay gan gai");
assert_eq!(bengali, "আমি বাংলায় গান গাই");

License

rupantor is distributed under the terms of MPL License (Version 2.0).

See LICENSE for details.

Dependencies

~390–670KB
~14K SLoC