Abstract

Sentiment analysis (SA) is an important task because of its vital role in analyzing people’s opinions. However, existing research is solely based on the English language with limited work on low-resource languages. This study introduced a new multi-class Urdu dataset based on user reviews for sentiment analysis. This dataset is gathered from various domains such as food and beverages, movies and plays, software and apps, politics, and sports. Our proposed dataset contains 9312 reviews manually annotated by human experts into three classes: positive, negative and neutral. The main goal of this research study is to create a manually annotated dataset for Urdu sentiment analysis and to set baseline results using rule-based, machine learning (SVM, NB, Adabbost, MLP, LR and RF) and deep learning (CNN-1D, LSTM, Bi-LSTM, GRU and Bi-GRU) techniques. Additionally, we fine-tuned Multilingual BERT(mBERT) for Urdu sentiment analysis. We used four text representations: word n-grams, char n-grams,pre-trained fastText and BERT word embeddings to train our classifiers. We trained these models on two different datasets for evaluation purposes. Finding shows that the proposed mBERT model with BERT pre-trained word embeddings outperformed deep learning, machine learning and rule-based classifiers and achieved an F1 score of 81.49%.

Details

Title
Multi-class sentiment analysis of urdu text using multilingual BERT
Author
Khan, Lal 1 ; Ammar, Amjad 1 ; Noman, Ashraf 2 ; Chang Hsien-Tsung 3 

 Chang Gung University, Department of Computer Science and Information Engineering, Taoyuan, Taiwan (GRID:grid.145695.a) (ISNI:0000 0004 1798 0922) 
 CIC, Instituto Politécnico Nacional, Mexico City, Mexico (GRID:grid.418275.d) (ISNI:0000 0001 2165 8782) 
 Chang Gung University, Department of Computer Science and Information Engineering, Taoyuan, Taiwan (GRID:grid.145695.a) (ISNI:0000 0004 1798 0922); Chang Gung Memorial Hospital, Department of Physical Medicine and Rehabilitation, Taoyuan, Taiwan (GRID:grid.413801.f) (ISNI:0000 0001 0711 0593); Chang Gung University, Artificial Intelligence Research Center, Taoyuan, Taiwan (GRID:grid.145695.a) (ISNI:0000 0004 1798 0922); Chang Gung University, Bachelor Program in Artificial Intelligence, Taoyuan, Taiwan (GRID:grid.145695.a) (ISNI:0000 0004 1798 0922) 
Publication year
2022
Publication date
2022
Publisher
Nature Publishing Group
e-ISSN
20452322
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
2645773184
Copyright
© The Author(s) 2022. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.