arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00620cs.CL
收藏

QQ: 一种用于语言标识符和元数据的工具包

QQ: A Language Metadata Toolkit for Multilingual NLP

Wessel Poelman, Yiyi Chen, Miryam de Lhoneux

AI总结:

QQ是一种用于统一语言元数据管理的轻量级Python工具包,通过统一的语言标识符映射和图结构,帮助多语言NLP研究中处理多种语言并探索语言关系。

摘要:

随着多语言NLP中考虑的语言数量不断增加,包括新的数据集和任务,正确且准确地报告所使用语言及其如何变得具有挑战性。例如,数据集常常使用不同的语言标识符;一些使用BCP-47(如en_Latn),其他使用ISO 639-1(en),更偏向语言学的数据集使用Glottocodes(stan1293)。在少数语言之间映射标识符是可行的,但当处理成千上万的语言时变得无法扩展。我们介绍了QwanQwa,一种轻量级的Python工具包,用于统一的语言元数据管理。QQ将多种语言资源整合到一个接口中,提供方便的标识符规范化和映射,并提供基于图的结构,使能够在语言家族、地区、书写系统和其他语言属性之间进行遍历。QQ既可以作为多语言NLP研究中的简单“粘合”库,使处理多种语言变得更容易,也可以作为探索语言的直观方式,例如通过共享的脚本、地区或其他元数据找到相关语言。

英文摘要:

Multilingual NLP research increasingly involves hundreds or thousands of languages across different datasets. Managing, discovering, and reporting language metadata becomes a common hurdle at these scales. We present QQ, a metadata toolkit and browser explorer. QQ compiles language metadata sources into a graph of language varieties, scripts, regions, identifiers, names, and relations, and exposes it through a Python API, a command-line interface, and a browser-based explorer. Users can normalize identifiers, retrieve metadata, traverse relations, and discover which external resources contain a language. We demonstrate QQ on three workflows: an audit of the HuggingFace Hub, linking resources that use different identifier systems, and generating reproducible language-reporting tables. QQ supports FAIR-oriented metadata practices through versioning, open formats, and reusable interfaces.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑