Deep learning techniques for sentiment analysis in code-switched Hausa-English tweets

Yusuf Aliyu , Aliza Sarlan , Kamaluddeen Usman Danyaro , Abdullahi Sani abd Rahman , Aminu Aminu Muazu , Mustapha Yusuf Abubakar
{"title":"Deep learning techniques for sentiment analysis in code-switched Hausa-English tweets","authors":"Yusuf Aliyu ,&nbsp;Aliza Sarlan ,&nbsp;Kamaluddeen Usman Danyaro ,&nbsp;Abdullahi Sani abd Rahman ,&nbsp;Aminu Aminu Muazu ,&nbsp;Mustapha Yusuf Abubakar","doi":"10.1016/j.jjimei.2025.100330","DOIUrl":null,"url":null,"abstract":"<div><div>Social media serve as a crucial platform for expressing opinions and perspectives. Its texts often characterised by code-switching or mixed languages in multilingual setting. This results in a diverse and complex linguistic context, which can negatively affect the accuracy of sentiment analysis for low-resource languages such as Hausa. Prior research has predominantly concentrated on sentiment analysis within single-language data rather than code-switched data. This paper proposes an efficient hyperparameter tuning framework and a novel stemming algorithm for the Hausa language. The framework leverages word embeddings to determine the polarity scores of code-mixed tweets and enhances the accuracy of sentiment analysis models in low-resource language. The extensive experiments demonstrate the framework's efficiency and reveal a superior performance of transformer models over conventional deep learning models. The framework achieves a balance between accuracy and computational efficiency, making it suitable for deployment in practical applications. Compared to state-of-the-art transformer models, our framework significantly reduces computational costs while maintaining competitive performance. Notably, the AfriBERTa model achieves outstanding results, with an F1-score of 0.92 and an accuracy of 0.919, surpassing current baseline standards. These findings have broad implications for social media monitoring, customer feedback analysis, and public sentiment tracking, enabling more inclusive and accessible NLP tools for underrepresented linguistic communities.</div></div>","PeriodicalId":100699,"journal":{"name":"International Journal of Information Management Data Insights","volume":"5 1","pages":"Article 100330"},"PeriodicalIF":0.0000,"publicationDate":"2025-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Information Management Data Insights","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667096825000126","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Social media serve as a crucial platform for expressing opinions and perspectives. Its texts often characterised by code-switching or mixed languages in multilingual setting. This results in a diverse and complex linguistic context, which can negatively affect the accuracy of sentiment analysis for low-resource languages such as Hausa. Prior research has predominantly concentrated on sentiment analysis within single-language data rather than code-switched data. This paper proposes an efficient hyperparameter tuning framework and a novel stemming algorithm for the Hausa language. The framework leverages word embeddings to determine the polarity scores of code-mixed tweets and enhances the accuracy of sentiment analysis models in low-resource language. The extensive experiments demonstrate the framework's efficiency and reveal a superior performance of transformer models over conventional deep learning models. The framework achieves a balance between accuracy and computational efficiency, making it suitable for deployment in practical applications. Compared to state-of-the-art transformer models, our framework significantly reduces computational costs while maintaining competitive performance. Notably, the AfriBERTa model achieves outstanding results, with an F1-score of 0.92 and an accuracy of 0.919, surpassing current baseline standards. These findings have broad implications for social media monitoring, customer feedback analysis, and public sentiment tracking, enabling more inclusive and accessible NLP tools for underrepresented linguistic communities.
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
19.20
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信