AfroLID: A Neural Language Identification Tool for African Languages

Ife Adebara, AbdelRahim Elmadany, Muhammad Abdul-Mageed, Alcides Alcoba Inciarte
10/21/2022
cs.CLcs.LG

Official code: UBC-NLP/afrolid (40 stars, Python, Apache-2.0, last commit 2026-02-05).

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.

Show full abstract

We address this pressing issue for Africa by introducing AfroLID, a neural LID toolkit for $517$ 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.

View on arXivView PDF

Code Implementations(1)

UBC-NLP/afrolidOfficial100%
Apache-2.0

AfroLID, a powerful neural toolkit for African languages identification which covers 517 African languages.

4011PythonSep 15, 20229 months agoApache-2.0
african-languagesdeep-learningdlnlplanguage-identificationnatural-langauge-processing+3 more

Similar Papers

Cite this paper

@article{adebara2022afrolid,
  title  = {AfroLID: A Neural Language Identification Tool for African Languages},
  author = {Ife Adebara and AbdelRahim Elmadany and Muhammad Abdul-Mageed and Alcides Alcoba Inciarte},
  year   = {2022},
  eprint = {2210.11744},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11744}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.11744.svg)](https://codeofpaper.com/paper/2210.11744)

Discussion