ArmanEmo: A Persian Dataset for Text-based Emotion Detection

Hossein Mirzaee, Javad Peymanfard, Hamid Habibzadeh Moshtaghin, Hossein Zeinali
7/24/2022
cs.CLcs.AI

Official code: Arman-Rayan-Sharif/arman-text-emotion (12 stars, last commit 2022-09-19).

Abstract

With the recent proliferation of open textual data on social media platforms, Emotion Detection (ED) from Text has received more attention over the past years. It has many applications, especially for businesses and online service providers, where emotion detection techniques can help them make informed commercial decisions by analyzing customers/users' feelings towards their products and services. In this study, we introduce ArmanEmo, a human-labeled emotion dataset of more than 7000 Persian sentences labeled for seven categories. The dataset has been collected from different resources, including Twitter, Instagram, and Digikala (an Iranian e-commerce company) comments. Labels are based on Ekman's six basic emotions (Anger, Fear, Happiness, Hatred, Sadness, Wonder) and another category (Other) to consider any other emotion not included in Ekman's model. Along with the dataset, we have provided several baseline models for emotion classification focusing on the state-of-the-art transformer-based language models. Our best model achieves a macro-averaged F1 score of 75.39 percent across our test dataset. Moreover, we also conduct transfer learning experiments to compare our proposed dataset's generalization against other Persian emotion datasets. Results of these experiments suggest that our dataset has superior generalizability among the existing Persian emotion datasets. ArmanEmo is publicly available for non-commercial use at https://github.com/Arman-Rayan-Sharif/arman-text-emotion.

View on arXivView PDF

Code Implementations(1)

a new dataset for persian text emotion detection

121Jul 12, 20224 years ago

Similar Papers

Cite this paper

@article{mirzaee2022armanemo,
  title  = {ArmanEmo: A Persian Dataset for Text-based Emotion Detection},
  author = {Hossein Mirzaee and Javad Peymanfard and Hamid Habibzadeh Moshtaghin and Hossein Zeinali},
  year   = {2022},
  eprint = {2207.11808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11808v1}
}

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/2207.11808.svg)](https://codeofpaper.com/paper/2207.11808)

Discussion