arXiv

TajikNLP: An Open-Source Toolkit for Comprehensive Text Processing of Tajik (Cyrillic Script)

Title: TajikNLP: A Comprehensive Open-Source Solution for Processing Tajik Text in Cyrillic Script

Abstract

Publicly accessible natural language processing (NLP) resources for the Tajik language, which is written in the Cyrillic script, are currently scarce. This lack of infrastructure poses significant challenges for both linguistic scholarship and practical application development. To address this gap, we present TajikNLP, an open-source Python library designed to offer the first complete pipeline for processing genuine Tajik text while maintaining its original Cyrillic orthography.

The library is built on a modular architecture anchored by a unified Doc object. This design allows for the sequential execution of various processing components, including text cleaning and normalization, tokenization (with support for subword Byte Pair Encoding), morphemic segmentation, part-of-speech (POS) tagging, stemming, lemmatization, and sentence splitting. A key innovation within the library is its novel unified morphology engine, which provides both controlled and deep analysis modes. This feature markedly enhances the handling of Tajik’s complex agglutinative inflections in both nominal and verbal forms.

Additionally, the release includes a lexicon-based sentiment analyzer and pre-trained Word2Vec and FastText embeddings, which are directly accessible via the Hugging Face Hub. To support reproducibility and encourage further research, we have openly published four linguistic datasets under permissive licenses: a POS-tagged corpus containing 52,500 entries, a sentiment lexicon with 3,500 entries, a toponym gazetteer comprising 5,600 entries, and a personal names dataset with 3,800 entries.

The reliability of TajikNLP is demonstrated through an extensive test suite comprising 616 automated tests, which achieve 93% source code coverage. By establishing this foundational technological infrastructure, TajikNLP lowers the entry barrier for academic and industrial applications, particularly benefiting low-resource environments that utilize Cyrillic script.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...