TurkicNLP:突厥语言的自然语言处理工具包
TurkicNLP: An NLP Toolkit for Turkic Languages
AI总结:
提出一个统一的、开源的Python库TurkicNLP,通过模块化多后端架构支持四种文字体系的突厥语言,提供分词、形态分析、词性标注、依存句法、命名实体识别、跨文字转写、跨语言句子嵌入和机器翻译等功能。
摘要:
突厥语族由欧亚大陆超过2亿人使用,其自然语言处理仍然碎片化,大多数语言缺乏统一的工具和资源。我们提出TurkicNLP,一个开源的Python库,为四种文字体系(拉丁、西里尔、波斯-阿拉伯和古突厥如尼文)的突厥语言提供单一、一致的NLP流水线。该库通过一个语言无关的API覆盖分词、形态分析、词性标注、依存句法分析、命名实体识别、双向文字转写、跨语言句子嵌入和机器翻译。模块化多后端架构透明地集成了基于规则的有限状态转换器和神经模型,并具备自动文字检测和文字变体路由功能。输出遵循CoNLL-U标准,以实现完全互操作性和扩展性。代码和文档托管于https://github.com/turkic-nlp/turkicnlp。
英文摘要:
Turkic languages are spoken by about 200 million people and are written in Latin, Cyrillic, and Perso-Arabic scripts, yet the NLP tools that exist for them are scattered across languages, scripts, and incompatible software. We present TurkicNLP, an open-source Python library that offers a single pipeline for 24 Turkic languages, covering tokenization, morphological analysis, POS tagging, dependency parsing, named entity recognition, language identification, sentence embeddings, and machine translation. The library is designed for cross-lingual use: it detects and converts between scripts, maps 23 languages into the shared Common Turkic Alphabet, and includes multilingual models that share parameters across the family and transfer to languages without annotated data. Our evaluation shows the benefits of this design. The multilingual parser outperforms per-language parsers, the multilingual morphological analyzer complements finite-state analyzers where their lexicons are small, and both produce usable analyses for languages unseen in training. Transliteration is almost fully reversible, and converting text to the Common Turkic Alphabet removes most of the additional tokenization cost that large language models incur on Cyrillic- and Arabic-script Turkic languages. Code, models, and documentation are available at: https://github.com/turkic-nlp/turkicnlp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。