Skip to main content

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


Download files

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

Source Distribution

aksharam-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aksharam-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file aksharam-0.1.1.tar.gz.

File metadata

  • Download URL: aksharam-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for aksharam-0.1.1.tar.gz
Algorithm Hash digest
SHA256 42b93597b4a207ffad89c528d85005870b51fdecb29bb9f98653b63833752a96
MD5 c6ea14b03b52f74ccee5ec7f2c47e5f6
BLAKE2b-256 97545414f46fda3f1372a1a3d1b120885cd15255d544666249a045cd20ca195d

See more details on using hashes here.

File details

Details for the file aksharam-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aksharam-0.1.1-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

Hashes for aksharam-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa2d1540ea69667c9e7a93a439d602cb5641acb531cd74f21decfa67466fc4e4
MD5 bd36a0c76b42c96b160d234b3c50db6f
BLAKE2b-256 e5b0ec8a8131dfbe912fe5305c1e0eca945cfc8db48bea46ae36a2539bf985b7

See more details on using hashes here.

Supported by

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