Transliterate Malayalam text into English-style Manglish with a small set of fixes on top of ml2en
Project description
aksharam
aksharam is a Python library for transliterating Malayalam text into English-style Manglish with a small set of compatibility fixes built on top of ml2en.
It provides a simple API for converting Malayalam words and phrases into Romanized Manglish output while preserving common transliteration nuances such as anusvaram handling, retroflex voicing, and compound-letter fixes.
Installation
pip install aksharam
Usage
from aksharam import transliterate
print(transliterate("കൈ"))
# Kai
You can also transliterate multiple items at once:
from aksharam import transliterate_text
print(transliterate_text(["കൈ", "ജ്ഞാനം", "ഓടുക"]))
CLI
aksharam "കൈ"
License and dependency notice
This package is distributed under the MIT License for the original work in this repository. However, it depends on ml2en, which is licensed under GPLv2. If you redistribute or bundle this package in a way that includes or adapts ml2en code, the GPLv2 terms of that dependency should be considered.
Author
Ajish K B
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aksharam-0.1.0.tar.gz.
File metadata
- Download URL: aksharam-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61b1bbb5d58d481e168d43899f07d9cdb748086dc0dbfeabc33eff8d6931b5d3
|
|
| MD5 |
880ff62471bdb25aa0a3afc0c5621151
|
|
| BLAKE2b-256 |
281deab51ee8fd84f7ca9e00d86748ad11a9ffa1ff878869f18d51fe68721da1
|
File details
Details for the file aksharam-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aksharam-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fca2cb7554684c004b8347b497b4f6fed5ba306290ca1317473a994c38dd621
|
|
| MD5 |
4a71448f4f4f705033cf4139da214c44
|
|
| BLAKE2b-256 |
c02ac24e174afde6f343f29569547ab9ee6c32149971cd533217ee439ccfaa4a
|