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
import thl_phonetic_transliteration
tibetan_text = '<your Tibetan text>'
thl_phonetics = thl_phonetic_transliteration.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.1.tar.gz
.
File metadata
- Download URL: thl_phonetic_transliteration-0.0.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307f036ace4320fc8e15a6613273b9067b615a8b7b434d640e4095034ad3d595 |
|
MD5 | fb132fa217d64285068e586f57097585 |
|
BLAKE2b-256 | b822c18a40b4ff376bc37c838a8bbeacc165580cb72dc5454aec3d5e21b4c348 |
File details
Details for the file thl_phonetic_transliteration-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: thl_phonetic_transliteration-0.0.1-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 | d5eb7b50bdbd5f0c62080c0103fb117ac482c58a4e0e9d552cda964b85f4ec0e |
|
MD5 | 579f83cf906413fc4d0d6a6da24e6e60 |
|
BLAKE2b-256 | a897e946ff114d5ca27461163c1b4a4a27711d19f4fbc6e3f423affc26e6545e |