AfriSenti-SemEval 2023: Twitter sentiment in African languages (Shared Task 12)

AnalyzedMediumtextTwitter (X)

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.

Download data package README Original files as received BibTeX JSONSimilar datasets

Analytics

Language and region
Language · 12 values, top 8 shown
ha22.2K
ig15.7K
yo15.1K
pcm10.6K
am9.5K
ary9K
pt-MZ7.5K
rw5.2K

The listed values cover 88.7% of rows. Column lang.

From the dataset's own fields, as its creators labelled them.

Sample rows
postlangtext
am_dev_01041amኣየ ግዜ!! ምረት ኩናትን ......? መቀረት ሰላምን.......? መረት ኩናት ዝሰገሮ መቀረት ሰላም መን ይነግሮ!
ma_train_02319aryنظافة يدكم يشهد به الخصوم قبل الأصدقاء.'
pcm_dev_00180pcmna the problem with attending day school be dat you never chop experience hope theyve sworn you in
sw_test_00673sw Juma Hamad Omari Mbunge wa Jimbo la Ole Wilaya ya Chakechake Mkoa wa Kusini Pemba Zanzibar kwa tiketi ya Chama cha Wa
yo_train_03184yo@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.

7.6
Flesch–Kincaid grade
US school grade level
8.2
Automated readability index
Frequent terms
userdeyallahonyeweyunademàwọnallah yakanwannankumafúnọmọsaiàtiwankwaanagbogbomanadanabegnigeriandiwetinsefyìíooomáankebabaomomanyanirefunarananfitihewọnmaicomedaishiakainaanyináà
Topic clusters

Topic 0

dey
wey
una
dem
abeg
wetin
wan
fit

Topic 1

pra
dia
vida
moçambique
dele
pessoas
mim
casa

Topic 2

محمد السادس
علابالي
الحسيمة
المغرب
مزية
محسن فكري
ديال
شكون

Topic 3

allah
wannan
kuma
mana
wallahi
allah yasa
dan
sai

Topic 4

àwọn
ọmọ
fún
kan
wọn
láti
náà
yìí

Topic 5

hhh
ghir
ana
rah
chi
ihab
hna
lik

Topic 6

onye
egwu
ebe
ndi
ike
ngwa
ihe
máa

Topic 7

ህዝብ
ኢትዮጵያ
መንግስት
የትግራይ
የኢትዮጵያ
አማራ
እንዴ
ወያኔ
Top hashtags
#ibtissamtiskat40
#nomore37
#hananeelkhader32
#socialmedianight25
#rwot24
#rwanda19
#ethiopia17
#covid1910
#ethiopiaprevails10
#canyaman9
#orgulhomoz9
#ihabamir8
#rbaamakuru8
#staracarabia8
#ኢትዮጵያ7
#mocambique6
#tplfsurrendernow6
#unityforethiopia6
#bama2016platinumedition_ibtissamtiskat5
#exo5
Top emoji
😂5.7K
🤣1.2K
😭789
🔥431
😹362
🏾293
😍261
💔243
🏽234
😅183
🙏174
😁167
👏135
🤔126
🇿125

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 table
R (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/.

BibTeX · RIS · CSL-JSON

Similar datasets 9 all with scores →