Optimized aspect level sentiment analysis of tweet data using deep learning and rule-based techniques
Keywords:
Aspects Extraction , Sentiment Analysis, Deep Learning, Data SecurityAbstract
Social media platforms are no longer just for interacting with others and having fun; they are also now a place for people to voice their opinions on topics that are important to them. It has developed into a potent platform in recent years whereby elections can be won or lost. Governments and organizations are therefore becoming more and more interested in the opinions that citizens voice on social media platforms. Towards coming up with a localized sentiment analysis system, this research explored the use of rules and optimized Convolutional Neural Network (CNN) Deep Learning (DL) technique for aspect-level sentiment analysis of users’ tweets. A total of 26,401 tweets about the security situation in Nigeria were used as the test data. Most tweets in the Nigerian Twitter space are expressed in Pidgin language, which is a blend of English and local words, therefore, a rule-based technique was used to capture the local words and abbreviated character representations used in the Nigerian tweet data used for testing. Moreover, existing works have shown that CNN does not adequately capture modeling sequence information and long[1]distance dependency of texts. Therefore, this study employed existing word embedding to boost the performance of CNN for sentiment polarity classification. The proposed rule and optimized CNN model outperformed the traditional CNN and state-of-the-art Glove and word2Vec models with an accuracy of 89.31%, a recall value of 88.21%, a precision value of 88.15%, and an F1 score of 87.62%.
Published
How to Cite
Issue
Section
Copyright (c) 2025 S. N. Enemuo, O. N. Akande, M. O. Lawrence, I. C. Said

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Similar Articles
- Chinedu L. Udeze, Idongesit E. Eteng, Ayei E. Ibor, Application of Machine Learning and Resampling Techniques to Credit Card Fraud Detection , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- Gabriel James, Anietie Ekong, Etimbuk Abraham, Enobong Oduobuk, Peace Okafor, Analysis of support vector machine and random forest models for predicting the scalability of a broadband network , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 3, August 2024
- P. O. Odion, M. N. Musa, S. U. Shuaibu, Age Prediction from Sclera Images using Deep Learning , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- Lek Ming Lim, Yang Lu, Ahmad Sufril Azlan Mohamed, Majid Khan Majahar Ali, Data safety prediction using YOLOv7+G3HN for traffic roads , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 3, August 2024
- Osowomuabe Njama-Abang, Denis U. Ashishie, Paul T. Bukie, Addressing class imbalance in lassa fever epidemic data, using machine learning: a case study with SMOTE and random forest , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Christian N. Nwaeme, Adewale F. Lukman, Robust hybrid algorithms for regularization and variable selection in QSAR studies , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 4, November 2023
- F. U. Salifu, O. A. Oladipo, E. O. Ebock, B. Nava, Deep neural network model for vertical total electron content prediction at a single low latitude station , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 4, November 2025
- A. B Yusuf, R. M Dima, S. K Aina, Optimized Breast Cancer Classification using Feature Selection and Outliers Detection , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 4, November 2021
- Hamza Abubakar, Abdu Sagir Masanawa, Surajo Yusuf, G. I. Boaku, Optimal representation to High Order Random Boolean kSatisability via Election Algorithm as Heuristic Search Approach in Hopeld Neural Networks , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 3, August 2021
- Sherifdeen O. Bolarinwa, Eli Danladi, Andrew Ichoja, Muhammad Y. Onimisia, Christopher U. Achem, Synergistic Study of Reduced Graphene Oxide as Interfacial Buffer Layer in HTL-free Perovskite Solar Cells with Carbon Electrode , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
You may also start an advanced similarity search for this article.

