Crates.io | ewts |
lib.rs | ewts |
version | |
source | src |
created_at | 2024-11-19 23:40:06.9992 |
updated_at | 2024-12-11 13:07:19.923541 |
description | Converter from EWTS (Extended Wylie Transliteration Scheme) to Tibetan Unicode symbols (lib) |
homepage | https://github.com/emgyrz/ewts-rs |
repository | https://github.com/emgyrz/ewts-rs |
max_upload_size | |
id | 1453993 |
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` |
size | 0 |
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
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, "ཨོཾ་ཨཿཧཱུྂ་བཛྲ་གུ་རུ་པདྨ་སིདྡྷི་ཧཱུྂ༔");
This converter does not perform any checks, substitutions, transformations - if you have written incorrectly, you will get incorrect characters in the result.