Supernova Nepali Normalizer
Python text normalization library from Supernova11c.
Install
pip install supernova-norm
Quick start
from supernova_norm import normalize
text = " नेपाली भाषा "
print(normalize(text))
Class-based usage
from supernova_norm import SupernovaNepaliNormalizer
normalizer = SupernovaNepaliNormalizer()
print(normalizer.normalize("“नेपाल”—सुन्दर देश"))
Normalization rules
- Unicode NFC normalization
- Removal of zero-width non-joiner and joiner characters
- Standardization of selected dash and quotation marks
- CRLF and carriage-return conversion to line breaks
- Tabs converted to spaces
- Repeated spaces and excessive blank lines reduced
- Leading and trailing whitespace removed
None returns an empty string. Other inputs are converted to strings.
Project
Source: https://huggingface.co/Supernova11c/Supernova-Nepali-Normalizer-V2
Metadata
Release files for supernova-norm 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| supernova_norm-2.0.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supernova_norm-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / supernova_norm-2.0.0.tar.gz
| Download URL | supernova_norm-2.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
720223ee05e3cec67809ee4ea2299c07c6b0ecfaf63a209633a07a9e42435df2
|
|
BLAKE2b-256 checksum How to use checksums |
935c2d3e900bbdee3c7a87902781bc39fb2b475b4758de4fe1d28c3176234e57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / supernova_norm-2.0.0-py3-none-any.whl
| Download URL | supernova_norm-2.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13a660fe413e41fc89307e75bc5bcbab620ecb4409336d9015e59a0cc2b5410d
|
|
BLAKE2b-256 checksum How to use checksums |
1ccc07211df7bc42bc7d520cadf21c8ecdd501b5ebe2e2df511accb99d5240d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|