A PyPi package for converting Nepali words to Romanized English literals. This package performs transliteration, converting Devanagari words into Roman literals.
Project description
Nepali-to-Roman 🌐
Elegantly transform Nepali text into Romanized English with precision using the powerful nepali-to-roman
Python package. Overcoming the limitations of existing solutions, this package meticulously maps Nepali literals and words to their precise Romanized counterparts.
🚀 Installation
Install nepali-to-roman
effortlessly using pip
. Ensure you have pip
installed and run:
pip install nepali-to-roman
🎨 Usage
Import the ntr
module into your Python script or interactive environment:
import ntr
The ntr
module exposes the nep_to_rom
function, designed for transliterating Nepali text. Each word in a sentence is individually transliterated, and the results are seamlessly merged into a single string.
Syntax:
ntr.nep_to_rom(text)
Example:
import ntr
print(ntr.nep_to_rom("म नेपाल मा बस्छु ।"))
# Output: ma nepal ma baschhu .
🌱 Contributions
This package is licensed under The MIT License (MIT), details of which can be found in the LICENSE file. As an open-source project, we enthusiastically welcome contributions and feedback. If you have ideas for improvements or extensions, please feel free to contribute.
👥 About Contributors
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.