ewts

Crates.ioewts
lib.rsewts
version
sourcesrc
created_at2024-11-19 23:40:06.9992
updated_at2024-12-11 13:07:19.923541
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
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
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