4 releases
0.1.3 | Dec 11, 2024 |
---|---|
0.1.2 | Nov 30, 2024 |
0.1.1 | Nov 28, 2024 |
0.1.0 | Nov 19, 2024 |
#689 in Text processing
509 downloads per month
50KB
932 lines
ewts-cli
CLI tool 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
Example:
$ ewts --input "bkra shis bde legs/"
# བཀྲ་ཤིས་བདེ་ལེགས།
$ ewts --help
# ...
# Usage: ewts [OPTIONS] --input <INPUT>
#
# Options:
# -s, --source-type <SOURCE_TYPE> Type of input symbols [default: ewts] [possible values: ewts, unicode]
# -i, --input <INPUT> String to convert
# -h, --help Print help
# -V, --version Print version
# to convert file:
$ ewts -i "$(cat /path/to/your/file.txt)"
Usage
https://github.com/user-attachments/assets/28f62452-abf4-437f-b973-666a6a36403e
Installation
For now only with
cargo install ewts-cli
Dependencies
~1.1–1.7MB
~32K SLoC