Transform Khmer Personal Name into Latin and vice-versa.
Project description
Khmer Latin Name Transformer
Transform Khmer Personal Name into Latin and vice-versa.
Important!
Make sure you have pynini
installed on your current environment before install this library. To install pynini
, use this
conda install -c conda-forge pynini
Install khmer_latin_name_transformer from PyPI
pip install khmer-latin-name-transformer
Usage
from khmer_latin_name_transformer import (
to_khmer,
to_khmer_pronounce,
to_latin
)
to_khmer("DARA VISAL")
# => "តារា វិសាល"
to_khmer("linda sokha")
# => "លីនដា សុខា"
to_latin("តារា វិសាល")
# => "DARA VISAL"
to_khmer_pronounce("ភក្ត្រា")
# => ភ័ក-ត្រា
to_khmer_pronounce("និន្ទ្រា")
# => និន-ទ្រា
License
Apache 2.0
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
Built Distribution
File details
Details for the file khmer_latin_name_transformer-0.0.4.tar.gz
.
File metadata
- Download URL: khmer_latin_name_transformer-0.0.4.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f53e94e44c6fff6ba1bf96899a1b779547309fd4f97c255e551720332981dbd |
|
MD5 | 5dfdb5a4028c0765b7e9a5863b3a8b84 |
|
BLAKE2b-256 | 024a972eae5456a6e6bf1856a1bd4035d343c456db84ecc1ef9b909c01353380 |
File details
Details for the file khmer_latin_name_transformer-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: khmer_latin_name_transformer-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c108ad3db1527c10027cda8e483c87c8f41b38245fe89a544f6ae2f865d21db |
|
MD5 | 8294e0d116793640a17736d609105209 |
|
BLAKE2b-256 | b562bc1b2ba4c332961707b621777a78e2e4ce573f161546bc5becf9e9eccdde |