#converter #tibetan #localization

ewts

Converter from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols (lib)

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

Download history 138/week @ 2024-11-18 284/week @ 2024-11-25 35/week @ 2024-12-02 196/week @ 2024-12-09

653 downloads per month
Used in 2 crates

MIT/Apache

46KB
903 lines

ewts

Crates.io Version

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

[Docs]

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

  • Ewts symbols table
  • The dictionary was taken from here

Misc

This converter does not perform any checks, substitutions, transformations - if you have written incorrectly, you will get incorrect characters in the result.

No runtime deps