Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.7 instead.

NepaliKit

Current Release Version pypi Version PyPi downloads

NepaliKit is a Python library for natural language processing tasks in the Nepali language.

Installation

pip install nepalikit

Quick Start

from nepalikit.tokenization import Tokenizer
from nepalikit.preprocessing import TextProcessor
from nepalikit.manage_stopwords import get_stopwords, remove_stopwords_from_text

# Tokenize text
tokenizer = Tokenizer()
tokens = tokenizer.tokenize("नमस्ते, के छ खबर? यो एउटा वाक्य हो।", level='word')

# Clean text
processor = TextProcessor()
clean = processor.remove_html_tags("<p>नमस्ते</p>")
clean = processor.remove_special_characters(clean)

# Remove stopwords
filtered = remove_stopwords_from_text("म घर जाँदै छु")

Features

  • Tokenization — Rule-based and SentencePiece tokenizers
  • Preprocessing — HTML removal, special character cleaning, whitespace normalization
  • Stopword Management — 340+ curated Nepali stopwords with dynamic add/remove
  • Stemming — Rule-based suffix stripping
  • Normalization — Unicode NFC normalization, ZWNJ/ZWJ stripping, script detection
  • POS Tagging — Dictionary-based tagger with 11 grammatical categories
  • Spell Checking — Dictionary-based with Levenshtein edit distance suggestions
  • Transliteration — Roman ↔ Devanagari conversion
  • Number Extraction — Parse Devanagari digits and Nepali number words to integers

Documentation

Full documentation is available at docs/:

License

This project is licensed under the MIT License.

Author

Metadata

Release files for nepalikit 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nepalikit 1.1.1
File Size Uploaded
nepalikit-1.1.1.tar.gz 318.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nepalikit 1.1.1
File Interpreter ABI Platform
nepalikit-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 640.7 kB

Release files / nepalikit-1.1.1.tar.gz

Download URL nepalikit-1.1.1.tar.gz
Size 318.1 kB
Tags Source
SHA-256 checksum
How to use checksums
464a95e080fbf268640bd3b203bc51fbf826f054c940c4feefb9d0e8fc73c860
BLAKE2b-256 checksum
How to use checksums
9405e1025b02544948e8c25080dd58874e9b0fbec8352c3ec4df370a55b6382f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / nepalikit-1.1.1-py3-none-any.whl

Download URL nepalikit-1.1.1-py3-none-any.whl
Size 322.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e838c52ac28f093c2b9bf0f095953025dd22c830e189835204e37673f4bd9fd4
BLAKE2b-256 checksum
How to use checksums
465f8773988d8bdc163699aa1d37a2207f3c6f733b663fe5244385ad7dd2a10c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

3 release files

1.0

3 release files

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