AfroLID: A Neural Language Identification Tool for African Languages
Not on the map. Why?
Abstract (arXiv)
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 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 F1-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.
Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 23 of its 79 references that are in the map. First posted on arXiv 21 Oct 2022.
Builds on
23 of 79 references.
References · 23
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
- 2016FastText.zip: Compressing text classification modelscited by 335
- 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 243
- 2019WikiMatrix: Mining 135M Parallel Sentences in 1620 Language Pairs from Wikipediacited by 223
- 2020ARBERT & MARBERT: Deep Bidirectional Transformers for Arabiccited by 166
- 2019CCAligned: A Massive Collection of Cross-Lingual Web-Document Pairscited by 136
- 2020A Monolingual Approach to Contextualized Word Embeddings for Mid-Resource Languagescited by 131
11 more
- 2020Language ID in the Wild: Unexpected Challenges on the Path to a Thousand-Language Web Text Corpuscited by 77
- 2022NaijaSenti: A Nigerian Twitter Sentiment Corpus for Multilingual Sentiment Analysiscited by 64
- 2021AraT5: Text-to-Text Transformers for Arabic Language Generationcited by 63
- 2022Towards Afrocentric NLP for African Languages: Where We Are and Where We Can Gocited by 47
- 2020Mapping Languages: The Corpus of Global Language Usecited by 42
- 2018Automatic Language Identification in Texts: A Surveycited by 41
- 2019Massive vs. Curated Word Embeddings for Low-Resourced Languages. The Case of Yor`ub'a and Twicited by 33
- 2021Improved Language Identification Through Cross-Lingual Self-Supervised Learningcited by 20
- 2022Ancestor-to-Creole Transfer is Not a Walk in the Parkcited by 7
- 2017Improved Text Language Identification for the South African Languagescited by 4
- 2018A Portuguese Native Language Identification Datasetcited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 8; 2024: 6; 2025: 12; 2026: 12.
39 papers.
Sort:
By area:
- 2023An Open Dataset and Model for Language Identificationcited by 50
- 2023SemEval-2023 Task 12: Sentiment Analysis for African Languages (AfriSenti-SemEval)cited by 41
- 2022SERENGETI: Massively Multilingual Language Models for Africacited by 40
- 2023GlotLID: Language Identification for Low-Resource Languagescited by 39
- 2023AfriQA: Cross-lingual Open-Retrieval Question Answering for African Languagescited by 23
- 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languagescited by 16
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Aheadcited by 16
- 2024MaskLID: Code-Switching Language Identification through Iterative Maskingcited by 11
- 2025Where Are We? Evaluating LLM Performance on African Languagescited by 10
- 2023LIMIT: Language Identification, Misidentification, and Translation using Hierarchical Models in 350+ Languagescited by 6
- 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Abilitycited by 6
- 2024Geographically-Informed Language Identificationcited by 6
27 more
- 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identificationcited by 6
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Datacited by 6
- 2024A Systematic Review of NLP for Ghanaian Languages: Datasets, Models, and a Research Roadmapcited by 5
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Reportcited by 5
- 2023AfroDigits: A Community-Driven Spoken Digit Dataset for African Languagescited by 4
- 2025Voice of a Continent: Mapping Africa's Speech Technology Frontiercited by 4
- 2024Code-Switched Language Identification is Harder Than You Thinkcited by 3
- 2025DIVERS-Bench: Evaluating Language Identification Across Domain Shifts and Code-Switchingcited by 3
- 2026GhanaNLP Parallel Corpora: Comprehensive Multilingual Resources for Low-Resource Ghanaian Languagescited by 3
- 2024From N-grams to Pre-trained Multilingual Models For Language Identificationcited by 2
- 2025Bridging Gaps in Natural Language Processing for Yor`ub'a: A Systematic Review of a Decade of Progress and Prospectscited by 2
- 2026AfriNLLB: Efficient Translation Models for African Languagescited by 2
- 2025Improving Informally Romanized Language Identificationcited by 1
- 2023UBC-DLNLP at SemEval-2023 Task 12: Impact of Transfer Learning on African Sentiment Analysiscited by 0
- 2025NaijaNLP: A Survey of Nigerian Low-Resource Languagescited by 0
- 2025Kr'eyoLID From Language Identification Towards Language Miningcited by 0
- 2025The Rise of AfricaNLP: A Survey of Contributions, Contributors, Community Impact, and Bibliometric Analysiscited by 0
- 2025Language Diversity: Evaluating Language Usage and AI Performance on African Languages in Digital Spacescited by 0
- 2025Opportunities and Challenges of Natural Language Processing for Low-Resource Senegalese Languages in Social Science Researchcited by 0
- 2026AfroScope: A Framework for Studying the Linguistic Landscape of Africacited by 0
- 2026How Should We Model the Probability of a Language?cited by 0
- 2026Sometin Beta Pass Notin: Improving Multilingual ASR for Nigerian Languages via Knowledge Distillationcited by 0
- 2026Temporal Simultaneity Predicts Annotation Quality in Sentiment Corporacited by 0
- 2026Sample-Size Scaling of the African Languages NLI Evaluationcited by 0
- 2026TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translationcited by 0
- 2026Improving Language Identification for Code-Switched Utterances with Integer Linear Programmingcited by 0
- 2026MixLID: Token-Level Language Identification in Mixed-Language Textcited by 0
- 2026MixLID: Token-Level Language Identification in Mixed-Language Text12 Oct 2026
- 2026Improving Language Identification for Code-Switched Utterances with Integer Linear Programming4 Sep 2026
- 2026TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation19 Aug 2026
- 2026Sample-Size Scaling of the African Languages NLI Evaluation2 Jun 2026
- 2026Temporal Simultaneity Predicts Annotation Quality in Sentiment Corpora26 May 2026
- 2026Sometin Beta Pass Notin: Improving Multilingual ASR for Nigerian Languages via Knowledge Distillation18 May 2026
- 2026GhanaNLP Parallel Corpora: Comprehensive Multilingual Resources for Low-Resource Ghanaian Languages14 Mar 2026
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Report13 Feb 2026
- 2026AfriNLLB: Efficient Translation Models for African Languages10 Feb 2026
- 2026How Should We Model the Probability of a Language?9 Feb 2026
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data25 Jan 2026
- 2026AfroScope: A Framework for Studying the Linguistic Landscape of Africa19 Jan 2026
27 more
- 2025Opportunities and Challenges of Natural Language Processing for Low-Resource Senegalese Languages in Social Science Research24 Dec 2025
- 2025Language Diversity: Evaluating Language Usage and AI Performance on African Languages in Digital Spaces1 Dec 2025
- 2025The Rise of AfricaNLP: A Survey of Contributions, Contributors, Community Impact, and Bibliometric Analysis29 Sep 2025
- 2025DIVERS-Bench: Evaluating Language Identification Across Domain Shifts and Code-Switching22 Sep 2025
- 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identification18 Jun 2025
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Ahead27 May 2025
- 2025Voice of a Continent: Mapping Africa's Speech Technology Frontier24 May 2025
- 2025Improving Informally Romanized Language Identification30 Apr 2025
- 2025Kr'eyoLID From Language Identification Towards Language Mining9 Mar 2025
- 2025NaijaNLP: A Survey of Nigerian Low-Resource Languages27 Feb 2025
- 2025Where Are We? Evaluating LLM Performance on African Languages26 Feb 2025
- 2025Bridging Gaps in Natural Language Processing for Yor`ub'a: A Systematic Review of a Decade of Progress and Prospects24 Feb 2025
- 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languages31 Oct 2024
- 2024From N-grams to Pre-trained Multilingual Models For Language Identification11 Oct 2024
- 2024MaskLID: Code-Switching Language Identification through Iterative Masking10 Jun 2024
- 2024A Systematic Review of NLP for Ghanaian Languages: Datasets, Models, and a Research Roadmap10 May 2024
- 2024Geographically-Informed Language Identification14 Mar 2024
- 2024Code-Switched Language Identification is Harder Than You Think2 Feb 2024
- 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Ability16 Nov 2023
- 2023GlotLID: Language Identification for Low-Resource Languages24 Oct 2023
- 2023LIMIT: Language Identification, Misidentification, and Translation using Hierarchical Models in 350+ Languages23 May 2023
- 2023An Open Dataset and Model for Language Identification23 May 2023
- 2023AfriQA: Cross-lingual Open-Retrieval Question Answering for African Languages11 May 2023
- 2023UBC-DLNLP at SemEval-2023 Task 12: Impact of Transfer Learning on African Sentiment Analysis21 Apr 2023
- 2023SemEval-2023 Task 12: Sentiment Analysis for African Languages (AfriSenti-SemEval)13 Apr 2023
- 2023AfroDigits: A Community-Driven Spoken Digit Dataset for African Languages22 Mar 2023
- 2022SERENGETI: Massively Multilingual Language Models for Africa21 Dec 2022
- 2023An Open Dataset and Model for Language Identificationcited by 50
- 2023SemEval-2023 Task 12: Sentiment Analysis for African Languages (AfriSenti-SemEval)cited by 41
- 2022SERENGETI: Massively Multilingual Language Models for Africacited by 40
- 2023GlotLID: Language Identification for Low-Resource Languagescited by 39
- 2023AfriQA: Cross-lingual Open-Retrieval Question Answering for African Languagescited by 23
- 2024GlotCC: An Open Broad-Coverage CommonCrawl Corpus and Pipeline for Minority Languagescited by 16
- 2025Charting the Landscape of African NLP: Mapping Progress and Shaping the Road Aheadcited by 16
- 2024MaskLID: Code-Switching Language Identification through Iterative Maskingcited by 11
- 2025Where Are We? Evaluating LLM Performance on African Languagescited by 10
- 2023LIMIT: Language Identification, Misidentification, and Translation using Hierarchical Models in 350+ Languagescited by 6
- 2023Fumbling in Babel: An Investigation into ChatGPT's Language Identification Abilitycited by 6
- 2024Geographically-Informed Language Identificationcited by 6
12 most cited of 38 All 38 (JSON)
- 2026MixLID: Token-Level Language Identification in Mixed-Language Text12 Oct 2026
- 2026Improving Language Identification for Code-Switched Utterances with Integer Linear Programming4 Sep 2026
- 2026TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation19 Aug 2026
- 2026Sample-Size Scaling of the African Languages NLI Evaluation2 Jun 2026
- 2026Temporal Simultaneity Predicts Annotation Quality in Sentiment Corpora26 May 2026
- 2026GhanaNLP Parallel Corpora: Comprehensive Multilingual Resources for Low-Resource Ghanaian Languages14 Mar 2026
- 2026OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Report13 Feb 2026
- 2026AfriNLLB: Efficient Translation Models for African Languages10 Feb 2026
- 2026How Should We Model the Probability of a Language?9 Feb 2026
- 2026CommonLID: Re-evaluating State-of-the-Art Language Identification Performance on Web Data25 Jan 2026
- 2026AfroScope: A Framework for Studying the Linguistic Landscape of Africa19 Jan 2026
- 2025Opportunities and Challenges of Natural Language Processing for Low-Resource Senegalese Languages in Social Science Research24 Dec 2025
12 newest of 38 All 38 (JSON)