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
- V Umarani, A Julian, J Deepa, Sentiment Analysis using various Machine Learning and Deep Learning Techniques , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 4, November 2021
- A. E. Ibor, D. O. Egete, A. O. Otiko, D. U. Ashishie, Detecting network intrusions in cyber-physical systems using deep autoencoder-based dimensionality reduction approach anddeep neural networks , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Unyime Ufok Ibekwe, Uche M. Mbanaso, Nwojo Agwu Nnanna, Umar Adam Ibrahim, A machine learning sentiment classification of factors that shape trust in smart contracts , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- Umaru C. Obini, Chukwu Jeremiah, Sylvester A. Igwe, Development of a machine learning based fileless malware filter system for cyber-security , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 4, November 2024
- Gabriel James, Ime Umoren, Anietie Ekong, Saviour Inyang, Oscar Aloysius, Analysis of support vector machine and random forest models for classification of the impact of technostress in covid and post-covid era , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 3, August 2024
- Nahid Salma, Majid Khan Majahar Ali, Raja Aqib Shamim, Machine learning-based feature selection for ultra-high-dimensional survival data: a computational approach , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- S. I. Ele, U. R. Alo, H. F. Nweke, A. H. Okemiri, E. O. Uche-Nwachi, Deep convolutional neural network (DCNN)-based model for pneumonia detection using chest x-ray images , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 2, May 2025
- Shaymaa Mohammed Ahmed, Majid Khan Majahar Ali, Raja Aqib Shamim, Integrating robust feature selection with deep learning for ultra-high-dimensional survival analysis in renal cell carcinoma , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 4, November 2025
- O. E. Ojo, A. Gelbukh, H. Calvo, O. O. Adebanji, Performance Study of N-grams in the Analysis of Sentiments , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 4, November 2021
- Muhammad Dahiru Liman, Salamatu Ibrahim Osanga, Esther Samuel Alu, Sa'adu Zakariya, Regularization Effects in Deep Learning Architecture , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 2, May 2024
You may also start an advanced similarity search for this article.

