#quran

quranize

Encoding transliterations into Quran forms

24 releases (9 breaking)

new 0.10.2 Mar 21, 2023
0.9.0 Mar 18, 2023
0.7.3 Nov 29, 2022

#455 in Text processing

Download history 36/week @ 2022-11-28 4/week @ 2022-12-05 18/week @ 2022-12-12 1/week @ 2022-12-19 1/week @ 2022-12-26 63/week @ 2023-01-09 33/week @ 2023-01-16 4/week @ 2023-01-23 13/week @ 2023-01-30 22/week @ 2023-02-06 26/week @ 2023-02-13 40/week @ 2023-02-20 39/week @ 2023-03-13

79 downloads per month

MIT/Apache

2MB
13K SLoC

quranize-rs

Encoding transliterations into Quran forms.

Former version of this project

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Encodes alphabetic text to quran text. See [Quranize] for details.

Examples

Adding crate quranize to a project's dependencies

[dependencies]
quranize = "0.10"

Encoding alphabetic text to quran text

let q = quranize::Quranize::default();
assert_eq!(q.encode("alhamdulillah").first().unwrap().0, "الحمد لله");

Getting an aya text given surah number and ayah number

let aya_getter = quranize::AyaGetter::default();
assert_eq!(aya_getter.get(1, 1), Some("بِسْمِ اللَّهِ الرَّحْمَـٰنِ الرَّحِيمِ"));

No runtime deps