QQ: A Toolkit for Language Identifiers and Metadata

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Poelman, Wessel, Chen, Yiyi, de Lhoneux, Miryam
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912934332989440
author Poelman, Wessel
Chen, Yiyi
de Lhoneux, Miryam
author_facet Poelman, Wessel
Chen, Yiyi
de Lhoneux, Miryam
contents The growing number of languages considered in multilingual NLP, including new datasets and tasks, poses challenges regarding properly and accurately reporting which languages are used and how. For example, datasets often use different language identifiers; some use BCP-47 (e.g. en_Latn), others use ISO 639-1 (en), and more linguistically oriented datasets use Glottocodes (stan1293). Mapping between identifiers is manageable for a few dozen languages, but becomes unscalable when dealing with thousands. We introduce QwanQwa, a light-weight Python toolkit for unified language metadata management. QQ integrates multiple language resources into a single interface, provides convenient normalization and mapping between language identifiers, and affords a graph-based structure that enables traversal across families, regions, writing systems, and other linguistic attributes. QQ serves both as (1) a simple "glue" library in multilingual NLP research to make working with many languages easier, and (2) as an intuitive way for exploring languages, such as finding related ones through shared scripts, regions or other metadata.
format Preprint
id arxiv_https___arxiv_org_abs_2603_00620
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle QQ: A Toolkit for Language Identifiers and Metadata
Poelman, Wessel
Chen, Yiyi
de Lhoneux, Miryam
Computation and Language
The growing number of languages considered in multilingual NLP, including new datasets and tasks, poses challenges regarding properly and accurately reporting which languages are used and how. For example, datasets often use different language identifiers; some use BCP-47 (e.g. en_Latn), others use ISO 639-1 (en), and more linguistically oriented datasets use Glottocodes (stan1293). Mapping between identifiers is manageable for a few dozen languages, but becomes unscalable when dealing with thousands. We introduce QwanQwa, a light-weight Python toolkit for unified language metadata management. QQ integrates multiple language resources into a single interface, provides convenient normalization and mapping between language identifiers, and affords a graph-based structure that enables traversal across families, regions, writing systems, and other linguistic attributes. QQ serves both as (1) a simple "glue" library in multilingual NLP research to make working with many languages easier, and (2) as an intuitive way for exploring languages, such as finding related ones through shared scripts, regions or other metadata.
title QQ: A Toolkit for Language Identifiers and Metadata
topic Computation and Language
url https://arxiv.org/abs/2603.00620