Skip to main content

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

MLTranslit-1.0.5.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

MLTranslit-1.0.5-py3-none-any.whl (16.3 kB view hashes)

Uploaded Python 3

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