The goal of this code is to provide a library to convert Tibetan unicode and Wylie transliterations to THL Simplified Phonetic Transliteration.
Project description
thl_phonetic_transliteration
Description
The goal of this code is to provide a library to convert Tibetan unicode and Wylie transliterations to THL Simplified Phonetic Transliteration. This project was inspired by the similar Perl module created by Roger Espel Llima and the pyewts module for converting between Tibetan unicode and Wylie transliterations.
This package is part of the larger MLotsawa project for machine translation of Literary Tibetan. The code for the entire project, including this package is available on GitHub here.
Installation
pip install thl-phonetic-transliteration
Examples
from thl_phonetic_transliteration.converter import convert
tibetan_text = '<your Tibetan text>'
thl_phonetics = convert(tibetan_text)
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Owner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file thl_phonetic_transliteration-0.1.2.tar.gz
.
File metadata
- Download URL: thl_phonetic_transliteration-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c84e893fc9a4dbfba5435eb31c7ff76c0918f7757d15e0cb2b5885df251b04 |
|
MD5 | 53e39f82fa1c2488096d465549338878 |
|
BLAKE2b-256 | 114787420cf947160bfb0a2d8062a5f68f41974678c2e747e7a9f09770de6662 |
File details
Details for the file thl_phonetic_transliteration-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: thl_phonetic_transliteration-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d336db181b094ceed2e39019c79baa4af5412891e41f0de959e07e003bf845 |
|
MD5 | 9b0a5348fd24e12bb19246b952ae8d0f |
|
BLAKE2b-256 | 510464bbfdacf3ea3d36723bb5651c9dbd19bdf21a3a1fb28b282a650b5f132a |