4 releases
new 0.1.3 | Dec 11, 2024 |
---|---|
0.1.2 | Nov 30, 2024 |
0.1.1 | Nov 28, 2024 |
0.1.0 | Nov 19, 2024 |
#334 in Text processing
653 downloads per month
Used in 2 crates
46KB
903 lines
ewts
Library to convert text from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols
Demo page of wasm version of this lib
Fully compliant with the standard. See all rules on The Tibetan and Himalayan Library's site and tests on them here in rules_test.rs file.
It is part of set of apps/libs called ewts-rs. See more here
Example:
use ewts::{EwtsConverter};
let converter = EwtsConverter::create();
let ewts_str = "oM aHhU~M` badz+ra gu ru pad+ma sid+d+hi hU~M`:";
let tib_unicode_str = converter.ewts_to_unicode(ewts_str);
assert_eq!(tib_unicode_str, "ཨོཾ་ཨཿཧཱུྂ་བཛྲ་གུ་རུ་པདྨ་སིདྡྷི་ཧཱུྂ༔");
References
Misc
This converter does not perform any checks, substitutions, transformations - if you have written incorrectly, you will get incorrect characters in the result.