arXiv:2605.04583cs.CL2026-05中稿 · CLIB 2026被引 1

首个支持塔吉克语西里尔字母的开源文本处理工具包

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

论文配图:TajikNLP: An Open-Source Toolkit for Comprehensive Text Processing of Tajik (Cyrillic Script)
图 1 · 摘自论文原文
  • 构建统一文档对象,支持清洗、分词、词性标注等全流程处理
  • 提供52.5k条标注语料与3.5k条情感词典,覆盖多种语言任务
  • 专为低资源西里尔字母语言设计,适合学术与工业界使用

塔吉克语使用西里尔字母书写,但在公开自然语言处理工具方面严重匮乏,限制了语言研究与应用开发。本文介绍TajikNLP,一个开源Python库,首次为真实塔吉克语文本提供完整处理流程,并保留原始西里尔拼写。该库采用模块化架构,以统一的Doc对象为核心,支持清洗、标准化、分词(含子词BPE)、形态分割、词性标注、词干提取、词元还原和句子切分。引入新型统一形态分析引擎,支持可控深度分析模式,显著提升对塔吉克语屈折性名词与动词变化的处理能力。工具包还集成基于词典的情感分析器及预训练Word2Vec/FastText嵌入,直接从Hugging Face Hub加载。为确保可复现性,发布四个配套语料库:52.5k条词性标注语料、3.5k条情感词典、5.6k条地名名录和3.8k条人名数据集,均采用宽松许可证开放。库内包含616个自动化测试,源码覆盖率93%。TajikNLP为塔吉克语处理奠定了基础技术框架,降低了低资源西里尔字母环境下的应用门槛。

原文摘要 · Abstract (English)

The Tajik language, written in Cyrillic script, remains severely under-resourced in terms of publicly available natural language processing (NLP) toolkits, hindering both linguistic research and applied development. This paper introduces TajikNLP, an open-source Python library that provides the first comprehensive pipeline for processing authentic Tajik text while preserving the original Cyrillic orthography. The library implements a modular architecture centered around a unified Doc object, enabling sequential application of components for cleaning, normalization, tokenization (including subword BPE), morphemic segmentation, part-of-speech tagging, stemming, lemmatization, and sentence splitting. A novel unified morphology engine is introduced, offering controlled and deep analysis modes that significantly improve handling of Tajik's agglutinative nominal and verbal inflections. The release further incorporates a lexicon-based sentiment analyser and pre-trained Word2Vec/FastText embeddings loaded directly from the Hugging Face Hub. To ensure reproducibility and facilitate future research, four accompanying linguistic datasets -- a POS-tagged corpus (52.5k entries), a sentiment lexicon (3.5k entries), a toponym gazetteer (5.6k entries), and a personal names dataset (3.8k entries) -- have been openly published under permissive licenses. The library's reliability is validated by an extensive test suite of 616 automated tests achieving 93% source code coverage. TajikNLP thus establishes a foundational technological infrastructure for Tajik language processing, lowering the barrier to entry for both academic and industrial applications in low-resource Cyrillic-script environments.

自然语言处理低资源语言开源工具西里尔字母

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。