AfriSenti-SemEval 2023: Twitter sentiment in African languages (Shared Task 12)
Tweets in African languages, each labelled positive, negative or neutral by native speakers. They were released for SemEval-2023 Shared Task 12 (AfriSenti-SemEval). The repository describes more than 110,000 tweets in 14 languages. This package tables the per-language train, dev and test files of Subtask A and ships the rest of the repository (other subtasks, lexicons, guidelines, notebooks) as originals.
Cite this dataset at
afrisenti-semeval-2023-twitter-sentiment.echo.directory
Analytics
The listed values cover 88.7% of rows. Column lang.
From the dataset's own fields, as its creators labelled them.
| post | lang | text |
|---|---|---|
| am_dev_01041 | am | ኣየ ግዜ!! ምረት ኩናትን ......? መቀረት ሰላምን.......? መረት ኩናት ዝሰገሮ መቀረት ሰላም መን ይነግሮ! |
| ma_train_02319 | ary | نظافة يدكم يشهد به الخصوم قبل الأصدقاء.' |
| pcm_dev_00180 | pcm | na the problem with attending day school be dat you never chop experience hope theyve sworn you in |
| sw_test_00673 | sw | Juma Hamad Omari Mbunge wa Jimbo la Ole Wilaya ya Chakechake Mkoa wa Kusini Pemba Zanzibar kwa tiketi ya Chama cha Wa |
| yo_train_03184 | yo | @user @user @user @user Lẹ́yìn tí ó pé oṣù kejì, mo gbé ọ̀rọ̀ tọ @user lọ láti gbọ̀rọ̀mirò. Wọ́n sí fèsì wípé àwọn ti rí ọ̀ràn náà, wọ́n sì taari rẹ̀ sí ẹ̀ka Èkó. @user #EtoOnibaara #consumerright #brandnegligence #LiveYourBestLife https://t.co/8bG6lqAgtc |
5 rows as they are in the published files (masked where the dataset is masked), drawn with a fixed seed; rows with an e-mail address, phone number or IP address are skipped. Long texts are cut.
Topic 0
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
Topic 6
Topic 7
Computed over the full corpus.
Record
- Catalog key
afrisenti-semeval-2023-twitter-sentiment- Authors
- Shamsuddeen Hassan Muhammad; Idris Abdulmumin; Seid Muhie Yimam; David Ifeoluwa Adelani; Ibrahim Sa'id Ahmad; Nedjma Ousidhoum; Abinew Ali Ayele; Saif M. Mohammad; Meriem Beloucif; Sebastian Ruder
- Year
- 2022
- Source paper
- afrisenti-semeval/afrisent-semeval-2023
- License
- This work is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY-4.0)
- Contents
- 106,828 posts
106,828 annotations
Rows of the data package, version 1.0.0. - Analysis
- 30,211 documents analysed
What ECHO's analysis counted, which can differ from the package rows (text with content, repeated links merged). - Languages
- am, ar, ha, ig, om, pt, rw, sw
- Tasks
- Sentiment classification inferred
- Region
- Global (inferred: the platform is used worldwide)
Provenance
- Originally published at
- https://github.com/afrisenti-semeval/afrisent-semeval-2023 unverified
- Original files as received
- The source files, unconverted, kept for reference: mirrored on echo.directory on 2026-11-27, 105.8 MB across 147 files. Checksums in MANIFEST.json. For use, start with the data package below.
- Data package
- Version 1.0.0 of this dataset as an ECHO Data Package: posts (106,828 rows), annotations (106,828 rows).
- Structure
- Labelled data, Text
Use from code
Read the posts table directly from echo.directory, without downloading it first.
Every file of this package, with checksums, is listed in files.json; see the API documentation.
Python (DuckDB)
import duckdb # pip install duckdb
df = duckdb.sql("SELECT * FROM 'https://echo.directory/download/afrisenti-semeval-2023-twitter-sentiment/v1.0.0/data/posts.parquet' LIMIT 1000").df() # drop LIMIT for the whole tableR (arrow)
library(arrow) # install.packages("arrow")
df <- read_parquet("https://echo.directory/download/afrisenti-semeval-2023-twitter-sentiment/v1.0.0/data/posts.parquet")SQL (DuckDB)
SELECT * FROM 'https://echo.directory/download/afrisenti-semeval-2023-twitter-sentiment/v1.0.0/data/posts.parquet' LIMIT 10;How to cite
BibTeX
@misc{echo2026,
title = {ECHO: Exploratory Compendium of Humanity Online},
author = {Switzer, Braden and Zafarani, Reza},
year = {2026},
url = {https://echo.directory},
note = {Syracuse University}
}
@inproceedings{muhammad-etal-2023-semeval,
title = {{S}em{E}val-2023 Task 12: Sentiment Analysis for {A}frican Languages ({A}fri{S}enti-{S}em{E}val)},
author = {Muhammad, Shamsuddeen Hassan and Abdulmumin, Idris and Yimam, Seid Muhie and Adelani, David Ifeoluwa and Ahmad, Ibrahim Sa'id and Ousidhoum, Nedjma and Ayele, Abinew Ali and Mohammad, Saif M. and Beloucif, Meriem and Ruder, Sebastian},
booktitle = {Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023)},
year = {2023},
publisher = {Association for Computational Linguistics}
} APA
Switzer, B., & Zafarani, R. (2026). ECHO: Exploratory Compendium of Humanity Online [Data repository]. Syracuse University. https://echo.directory
Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Seid Muhie Yimam, David Ifeoluwa Adelani, Ibrahim Sa'id Ahmad, Nedjma Ousidhoum, Abinew Ali Ayele, Saif M. Mohammad, Meriem Beloucif, & Sebastian Ruder (2022). AfriSenti-SemEval 2023: Twitter sentiment in African languages (Shared Task 12) [Data set]. https://afrisenti-semeval-2023-twitter-sentiment.echo.directory/
MLA
Switzer, Braden, and Reza Zafarani. ECHO: Exploratory Compendium of Humanity Online. Syracuse University, 2026, echo.directory.
Shamsuddeen Hassan Muhammad, et al. AfriSenti-SemEval 2023: Twitter sentiment in African languages (Shared Task 12). 2022, afrisenti-semeval-2023-twitter-sentiment.echo.directory/.
