1 unstable release
0.1.0 | Aug 10, 2019 |
---|
#1612 in Text processing
8KB
141 lines
dhoni (ধ্বনি)
A crate for converting Bengali text into their phonetic counterpart.
Requires Rust version >= 1.31
Usage
Add this to your Cargo.toml
:
[dependencies]
dhoni = "0.1"
Example
This example shows how to use this crate:
use dhoni::convert_to_phonetic;
let banglish = convert_to_phonetic("আমি");
assert_eq!(banglish, "ami");
License
dhoni
is distributed under the terms of MIT License.
See LICENSE for details.
lib.rs
:
dhoni is a crate for converting Bengali text into their phonetic counterpart.
It's output doesn't strictly follow the Avro Phonetic specification, but tries to be compatible with Avro Phonetic's scheme.
Example: Converting a Bengali word
use dhoni::convert_to_phonetic;
let banglish = convert_to_phonetic("আমি");
assert_eq!(banglish, "ami");