ewts 0.1.2

Converter from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols (lib)
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented1 out of 4 items with examples
  • Size
  • Source code size: 45.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 730.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • emgyrz/ewts-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • emgyrz

ewts

Crates.io Version

Library to convert text from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols

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.