ewts

Crates.ioewts
lib.rsewts
version0.1.3
created_at2024-11-19 23:40:06.9992+00
updated_at2024-12-11 13:07:19.923541+00
descriptionConverter from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols (lib)
homepagehttps://github.com/emgyrz/ewts-rs
repositoryhttps://github.com/emgyrz/ewts-rs
max_upload_size
id1453993
size45,143
Max Z (emgyrz)

documentation

README

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.

Commit count: 44

cargo fmt