Skip to main content

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 🌐

Downloads Version License

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.

Downloads

🚀 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


Download files

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

Source Distribution

nepali-to-roman-1.1.1.tar.gz (28.6 kB view hashes)

Uploaded Source

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