Skip to main content

Kokborok (Kókborok) Language Library for Python

Python Version License: MIT Language

Kokborok (Kókborok) is the first-ever industrial-grade, standard-library-style Python NLP and linguistic preservation package for Kokborok (Tripuri)—the official Sino-Tibetan language of the state of Tripura in Northeast India.

Built with 105,000+ quadri-lingual headwords (Kokborok-English-Hindi-Bengali), dynamic generation of 300,000+ morphological inflections, script transliteration (Roman <-> Bengali), numeral classifiers, and cultural preservation records.


🌟 Key Features

  1. 105,000+ Headwords Dictionary: Quadri-lingual vocabulary with English, Hindi, and Bengali translations.
  2. 300,000+ Morphological Forms: Dynamic decomposition of kw- adjectival prefixes, -kha / -nai verbal aspect, and -rok / -no / -ni / -o noun case postpositions.
  3. Roman & Bengali Script Support: Bi-directional transliteration and syllable tokenization.
  4. Numeral & Classifier System: 1 to 1,000,000 Kokborok numbers with human (khorok-), animal (kwtwi-), long (gong-), and flat (tai-) classifiers.
  5. Universal Translation Engine: Bidirectional machine translation across Kokborok, English, Hindi, and Bengali with dialect adaptation (Debbarma, Reang/Bru, Jamatia, Noatia).
  6. Cultural Heritage & Calendar: Complete documentation of Kokborok Day (19 January), 12 lunar-solar months, traditional festivals (Garia Puja, Kharchi Puja, Ker Puja, Hojagiri), and epics (Rajmala, Chethuang).

🚀 Quick Start

import kokborok

# 1. Translate
res = kokborok.translate("How are you?")
print(res.text)  # "Nwng bahai tong?"

# 2. Verb Conjugation
print(kokborok.conjugate("thang", tense="past", subject="ang"))
# "ang thang-kha"

# 3. Numbers & Classifiers
print(kokborok.num_to_words(42))
# "brwichi-nwi"
print(kokborok.apply_classifier(2, "khorok"))
# "khorok-nwi" (two people)

# 4. Dictionary Lookup
entry = kokborok.lookup("khulumkha")
print(entry)
# {'kokborok': 'khulumkha', 'english': 'Greetings / Hello', 'hindi': 'नमस्ते / प्रणाम', 'bengali': 'নমস্কার'}

# 5. Script Transliteration
print(kokborok.roman_to_bengali("Nwng bahai tong?"))
# "ন্বঙ বাহাই তং?"

🏛️ Author & Citation

  • Author: Akshat Singh Bisht
  • Contact: infoakshatsinghbisht@gmail.com
  • Website: akshatsinghbisht.com
  • License: MIT

Metadata

Release files for kokborok 1.0.0

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

Source distribution (sdist)

Source distribution for kokborok 1.0.0
File Size Uploaded Provenance Actions
kokborok-1.0.0.tar.gz 1.5 MB With provenance Details for kokborok-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 3.1 MB

Release files / kokborok-1.0.0.tar.gz

Download URL kokborok-1.0.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
370f08bdbf69f12d3bba5ff7cede3b1da6da850c2e208948568d0dd67cbc9b03
BLAKE2b-256 checksum
How to use checksums
751aead7600d09bd8a53b16d0c0fba1e3610102ff754434707d0ff8461b9c968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 7, 2026.

Transparency log

Release files / kokborok-1.0.0-py3-none-any.whl

Download URL kokborok-1.0.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
83b76b17e5ce18802413cf5002aca5903bbd53b033f31e792493895e023a05ae
BLAKE2b-256 checksum
How to use checksums
aa7f9d4850b9277dc04d63fa9dbdb00e46a2a5bfca12f971bcdfca9b8fcc793c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 7, 2026.

Transparency log

Security for kokborok 1.0.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kokborok-1.0.0.tar.gz

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 Oct 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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