Roman text to unicode converter
Project description
Nepali Unicode Converter
A tool to convert Romanized text to corresponding Nepali unicode.
Installation
pip install nepali-unicode-converter
Usage
from nepali_unicode_converter.convert import Converter
converter = Converter()
mystring = 'ke chha hajura?'
print(converter.convert(mystring)) ## Output: 'के छ हजुर?'
Mapping Table
Basic vowels
Roman | Unicode | Roman | Unicode |
---|---|---|---|
a | अ | oo | ऊ |
aa | आ | Ri | ॠ |
ee | ई | Ree | ॠ |
i | इ | e | ए |
u | उ | ai | ऐ |
o | ओ |
Basic Akaars
Roman | Unicode | Roman | Unicode | Roman | Unicode |
---|---|---|---|---|---|
ka | क | Ta | ट | pa | प |
kha | ख | Tha | ठ | pha | फ |
ga | ग | Da | ड | fa | फ |
gha | घ | Dha | ढ | ba | ब |
Nga | ङ | Na | ण | bha | भ |
NGa | ङ्ग | ta | त | va | भ |
cha | च | tha | थ | ma | म |
chha | छ | da | द | ya | य |
ja | ज | dha | ध | ra | र |
jha | झ | na | न | la | ल |
yNa | ञ | pa | प | sha | श |
wa | व | sa | स | Sha | ष |
ha | ह | ksha | क्ष | tra | त्र |
gya | ज्ञ | gYa | ग्य |
Halantas
Just omit the 'a' at the end.
Kaar and other suffixes
Roman | Unicode |
---|---|
kaa | का |
ki | कि |
kee | की |
ku | कु |
koo | कू |
ke | के |
kai | कै |
ko | को |
kau | कौ |
kaM | कं |
kaNN | कँ |
ka: | क: |
mRI | मृ |
TODO
- Make it more intelligent.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for nepali_unicode_converter-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4db13245622c7a00a07c4afe5df902e277f7bc3e092d99f2e6fb66dc979edb8 |
|
MD5 | 4d655f11b0162eaaacd679ff4802e46b |
|
BLAKE2b-256 | f9ee95fd8e1fbe04b18e48ea23a98d93be6fc27439165ecb5d14005d180f8cec |