Skip to main content

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

This project has been renamed mlotsawa. The version here is deprecated. Please use mlotsawa instead.

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.transliterator import Transliterator 

tibetan_text = '<your Tibetan text>'

transliterator = Transliterator()

thl_phonetics = transliterator.convert(tibetan_text)

License

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

Owner

@billingsmoore

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thl_phonetic_transliteration-0.2.4.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file thl_phonetic_transliteration-0.2.4.tar.gz.

File metadata

File hashes

Hashes for thl_phonetic_transliteration-0.2.4.tar.gz
Algorithm Hash digest
SHA256 dbdb348fdefc75884abd25acbb59b3874995cc7ad58dd1abcbbd96c5be487ae2
MD5 9ac656f829cd25f4941e9652c36702de
BLAKE2b-256 9e72e601cf6341e5cef22348907eda299c811fa44ef70620d503fac82dcb944a

See more details on using hashes here.

File details

Details for the file thl_phonetic_transliteration-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for thl_phonetic_transliteration-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 de8800b487683ef78743b202cb06ba01b36eb81990fa01ab20239038dead7fec
MD5 cbd32eb1ce46a1683d9b22bdc1d31d99
BLAKE2b-256 bf7b5486f12a27e95a2a5b661dbd40d4f5a0cc168b1e29cc0fe4151f03cc8071

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page