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.
Source Distribution
File details
Details for the file nepali-to-roman-1.1.1.tar.gz
.
File metadata
- Download URL: nepali-to-roman-1.1.1.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32888ed9c1f473f3baae45cb6cf020f95c4050e1d96a1c5b4484bf9b0d5ccce4 |
|
MD5 | 1d76083c9ce6ed309bb62b28e69cb7df |
|
BLAKE2b-256 | ee8b0885a2fb2cfe3c5658452ba86235ec8115de5bf676d99fc9c75a1a1e4b26 |