Skip to main content

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.

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

If you're not sure about the file name format, learn more about wheel file names.

nepali_unicode_converter-1.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file nepali_unicode_converter-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: nepali_unicode_converter-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for nepali_unicode_converter-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4db13245622c7a00a07c4afe5df902e277f7bc3e092d99f2e6fb66dc979edb8
MD5 4d655f11b0162eaaacd679ff4802e46b
BLAKE2b-256 f9ee95fd8e1fbe04b18e48ea23a98d93be6fc27439165ecb5d14005d180f8cec

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

1 file

This release

1.0.2 This release

1 file

1.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page