Afroscope-Data
This is the corpus released as part of the AfroScope project for large-scale African language identification, supporting 713 languages. It provides sentence-level text with language labels and linguistic metadata and was used to train the open Afroscope-model.
The source project and additional resources are openly available here:
https://github.com/skwon01-UBC/AfroScope
Dataset Features
- sentence (string): The text sample.
- ISO-639-3 (string): The ISO 639-3 language code.
- script (string): The writing script (e.g.,
Latn,Arab). - domain (string): Source/domain category of the sample.
- lang_family_1 ~ 5 (string): Language family hierarchy.
- label (string): The final label used for classification.
Loading the dataset
from datasets import load_dataset
ds = load_dataset(
"14kwonss/afroscope-dataset",
split="train"
)
print(ds[0])
Citation
@article{kwon2026afroscope,
title={AfroScope: A Framework for Studying the Linguistic Landscape of Africa},
author={Kwon, Sang Yun and Elmadany, AbdelRahim and Abdul-Mageed, Muhammad},
journal={arXiv preprint arXiv:2601.13346},
year={2026}
}