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.
码交换豪萨-英语推文情感分析的深度学习技术
社交媒体是表达意见和观点的重要平台。在多语言环境下,其文本往往以语码转换或混合语言为特征。这导致了一个多样化和复杂的语言语境,这可能会对像豪萨语这样的低资源语言的情感分析的准确性产生负面影响。先前的研究主要集中在单语言数据中的情感分析,而不是代码转换数据。本文针对豪萨语提出了一种高效的超参数调优框架和一种新的词干提取算法。该框架利用词嵌入来确定代码混合推文的极性分数,并提高了低资源语言下情感分析模型的准确性。大量的实验证明了该框架的有效性,并揭示了变压器模型优于传统深度学习模型的性能。该框架在准确性和计算效率之间取得了平衡,使其适合在实际应用中部署。与最先进的变压器模型相比,我们的框架显著降低了计算成本,同时保持了具有竞争力的性能。值得注意的是,AfriBERTa模型取得了出色的结果,f1得分为0.92,准确率为0.919,超过了目前的基线标准。这些发现对社交媒体监测、客户反馈分析和公众情绪跟踪具有广泛的意义,为代表性不足的语言社区提供更具包容性和可访问性的NLP工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信