A linguistic tool that transliterates words from Malayalam script to English script.
Project description
Description
MLTranslit is a Python package that provides a simple and efficient way to transliterate Malayalam text to English. The package contains a python file MLTranslit.py which has a class named ml_to_en with a method transliterate(input) that takes input Malayalam text as an argument and returns the corresponding English transliteration based on a set of rules. It's useful for tasks such as machine learning, natural language processing, and data analysis that may require transliteration of Malayalam text to English.
Installation
!pip install MLTranslit
Usage
from MLTranslit import ml_to_en
convert = ml_to_en()
output = convert.transliterate("ഭക്ഷണം")
Output: bakshanam
Example
Input ML text: പരമ്പരാഗതമായി മലയാളം ഇടത്തുനിന്ന് വലത്തോട്ടാണ് എഴുതുന്നത്. മലയാളം ലിപികളെയും അക്ഷരങ്ങളെയെന്നപോലെ സ്വരങ്ങളെന്നും വ്യഞ്ജനങ്ങളെന്നും രണ്ടായി തിരിക്കാം.
Transliterated EN output: Paramparaagathamaayi malayaalam idatthuninnu valatthottaanu ezhuthunnathu. Malayaalam lipikaleyum aksharangaleyennapole svarangalennum vyanjjanangalennum randaayi thirikkaam.
License
This package is license under GNU GPL v3.0 license.
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 MLTranslit-1.0.5.tar.gz
.
File metadata
- Download URL: MLTranslit-1.0.5.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578fe63a5f69c43e5bdf4fb3a0d6b81609cc46403d5b62da7450b767c666d3af |
|
MD5 | 103c3b656e096d06134348daa178f1f9 |
|
BLAKE2b-256 | ab6d2d1ca3a9b23e0130dbd843678ded18ca75400a3c99c9cd20b7ac84999468 |
File details
Details for the file MLTranslit-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: MLTranslit-1.0.5-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f30cd1d68b5e7cc25f163bd12ae3a3f7ead4b75936f2f7424db01095956b077a |
|
MD5 | ef0b4efd247508cb3280505ab1507b34 |
|
BLAKE2b-256 | dce9a8d12dd6d8e17ceb2260f4d02dd2e40b14c2042fde90b4f8ee3406c0329d |