English

AfroLID: A Neural Language Identification Tool for African Languages

Computation and Language 2022-12-08 v3 Machine Learning

Abstract

Language identification (LID) is a crucial precursor for NLP, especially for mining web data. Problematically, most of the world's 7000+ languages today are not covered by LID technologies. We address this pressing issue for Africa by introducing AfroLID, a neural LID toolkit for 517517 African languages and varieties. AfroLID exploits a multi-domain web dataset manually curated from across 14 language families utilizing five orthographic systems. When evaluated on our blind Test set, AfroLID achieves 95.89 F_1-score. We also compare AfroLID to five existing LID tools that each cover a small number of African languages, finding it to outperform them on most languages. We further show the utility of AfroLID in the wild by testing it on the acutely under-served Twitter domain. Finally, we offer a number of controlled case studies and perform a linguistically-motivated error analysis that allow us to both showcase AfroLID's powerful capabilities and limitations.

Keywords

Cite

@article{arxiv.2210.11744,
  title  = {AfroLID: A Neural Language Identification Tool for African Languages},
  author = {Ife Adebara and AbdelRahim Elmadany and Muhammad Abdul-Mageed and Alcides Alcoba Inciarte},
  journal= {arXiv preprint arXiv:2210.11744},
  year   = {2022}
}

Comments

To appear at EMNLP 2022 Main conference

R2 v1 2026-06-28T04:09:02.609Z