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.0.4.tar.gz
.
File metadata
- Download URL: thl_phonetic_transliteration-0.0.4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382f973b48eec9d301a29a7a869a694b46524941f59a42528c712a392ede76c4 |
|
MD5 | d2d58bb8bdc938532fc6b0e44393d898 |
|
BLAKE2b-256 | c9469fb0d67dab129a5382cc75c36f4b89af2307739f8f179ade91f9ee062ff1 |
File details
Details for the file thl_phonetic_transliteration-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: thl_phonetic_transliteration-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.2 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 | bf6d653c500813e53fd1739535b244d1d2c0b2ba0a194bca1701b84b428d2e2d |
|
MD5 | 9e0009e1e8adc34590a267cfff3eb9d8 |
|
BLAKE2b-256 | 9b6ab250b9103ea28cb2dd2e34c4ed892439d8277948ae65fe41b04918f5ebc0 |