MCPcopy Index your code
hub / github.com/OpenBangla/rupantor-rs

github.com/OpenBangla/rupantor-rs @0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.0 ↗ · + Follow
18 symbols 27 edges 4 files 6 documented · 33%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

rupantor-rs

Build Status

A Bengali Phonetic Parser which is very flexible and converts text into Bengali according to a json formated 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.1"

and this to your crate root:

extern crate rupantor;

Example

This example shows how to use Avro Phonetic:

extern crate rupantor;
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.

Core symbols most depended-on inside this repo

is_vowel
called by 2
src/parser.rs
is_consonant
called by 2
src/parser.rs
fix_string
called by 1
src/parser.rs
is_case_sensitive
called by 1
src/parser.rs
is_number
called by 1
src/parser.rs
is_exact
called by 1
src/parser.rs
is_punctuation
called by 1
src/parser.rs
new
called by 0
src/parser.rs

Shape

Method 11
Function 5
Class 2

Languages

Rust100%

Modules by API surface

src/parser.rs13 symbols
src/avro.rs4 symbols
examples/test.rs1 symbols

For agents

$ claude mcp add rupantor-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact