A package for translating Romanized English to Unicode Nepali
Project description
Nepali Translator Package
The Nepali Translator Package is a Python library that provides functionality to translate Romanized English text to Unicode Nepali. It allows users to easily convert Romanized English words and sentences commonly used in Nepali transliteration to their corresponding Unicode Nepali characters.
Features
- Transliterate Romanized English text to Unicode Nepali characters.
- Simple and easy-to-use interface.
- No external dependencies required.
Installation
You can install the Nepali Translator Package using pip
:
pip install nepali-translator-package
Usage
To use the Nepali Translator Package, follow these simple steps:
- Import the
Converter
function from the package.
from nepali_translator import Converter
- Call the
Converter
function with the Romanized English text you want to translate.
roman_text = "mero nam John ho"
nepali_text = Converter(roman_text)
print(nepali_text) # Output: "मेरो नाम जोन हो"
Examples
Here are a few more examples to illustrate how the package works:
from nepali_translator import Converter
roman_text_1 = "tapai lai kasto cha"
nepali_text_1 = Converter(roman_text_1)
print(nepali_text_1) # Output: "तपाईं लाई कस्तो छ"
roman_text_2 = "khana khannu bhayo"
nepali_text_2 = Converter(roman_text_2)
print(nepali_text_2) # Output: "खाना खान्नु भयो"
roman_text_3 = "hami sathi hau"
nepali_text_3 = Converter(roman_text_3)
print(nepali_text_3) # Output: "हामी साथी हौ"
Contributing
If you would like to contribute to the Nepali Translator Package, you are welcome to submit issues, feature requests, or pull requests on the GitHub repository: [https://github.com/MILANydv/nepali_translator_package.git]
Support
License
This project is licensed under the MIT License.
Acknowledgments
The Nepali Translator Package was inspired by the need for a simple and lightweight library to convert Romanized English text to Unicode Nepali characters. Special thanks to the contributors and users who helped improve the package.
We hope you find the Nepali Translator Package useful for your Nepali language projects! If you have any questions or feedback, feel free to reach out to us.
Thank you for using the Nepali Translator Package!
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
Built Distribution
File details
Details for the file roman-nepali-translator-0.1.1.tar.gz
.
File metadata
- Download URL: roman-nepali-translator-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b819c63f4009f2d5cf575356658a6724eab5e57034a49fc14fd1c068d7334e04
|
|
MD5 |
928ce6114bd71bb2c6f023743cae6a2a
|
|
BLAKE2b-256 |
3c43a88cbb8041173e786abbfdba065c5c3722a18f15777efdc9837045f31001
|
File details
Details for the file roman_nepali_translator-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: roman_nepali_translator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b06e6ec44bf3a9d6d2773b3476d65f289d2fd1f9c86ef4ef317ac3ae1554d684
|
|
MD5 |
603f5cd0ca747e5b39a842b6dbbe4480
|
|
BLAKE2b-256 |
f475e957a4a1ea1a987a162de32e2f2c6e1cda9c1948360e99cbcf495d38852d
|