ASPECT-BASED SENTIMENT ANALYSIS USING N-GRAMS, THRESHOLD ADJUSTMENT, AND 3-D SENTIVALUES WITH A NAIVE BAYES ENSEMBLE
DOI:
https://doi.org/10.52326/jes.utm.2026.33(1).06Keywords:
Aspect-Based Sentiment Analysis, natural language processing, SentiWordNet, Naïve Bayes, restaurant reviews, customer satisfaction, n-gramsAbstract
Aspect-Based Sentiment Analysis (ABSA) supports fine-grained understanding of user opinions by identifying sentiment toward specific aspects. Nevertheless, many existing approaches either rely on rigid feature representations or adopt deep learning models that introduce high computational cost and limited interpretability, reducing their suitability for scalable soft computing systems. This study proposes a hybrid intelligence framework for ABSA that combines TF-IDF n-gram representations with three-dimensional lexicon-based sentiment values and a threshold-adjusted Naïve Bayes ensemble. Contextual information is captured using unigram, bigram, and trigram features, while semantic polarity, objectivity, and subjectivity scores derived from SentiWordNet provide complementary sentiment knowledge. A weighted fusion of Multinomial and Gaussian Naïve Bayes classifiers is employed, alongside adaptive threshold calibration to improve minority-class detection. Experiments on a large restaurant review dataset demonstrate that the proposed approach achieves an overall accuracy of 0.92 with strong macro-averaged and weighted F1-scores, outperforming multiple baseline and hybrid methods. Statistical significance is confirmed using the Wilcoxon signed-rank test. Computational complexity analysis shows linear scalability with respect to corpus size and document length. The results indicate that the proposed hybrid framework delivers an effective balance between accuracy, interpretability, and computational efficiency, making it suitable for scalable soft computing systems and resource-constrained sentiment analysis applications.
References
Tan, K.L., Lee, C.P. și Lim, K.M. (2023) ‘A survey of sentiment analysis: Approaches, datasets, and future research’, Applied Sciences, 13, 4550. doi: 10.3390/app13074550.
Liu, K., Zhao, J. și Xu, L. (2016) Sentiment analysis: Mining opinions, sentiments, and emotions. Cambridge: Cambridge University Press, pp. 595–598.
Medhat, W., Hassan, A. și Korashy, H. (2014) ‘Sentiment analysis algorithms and applications: A survey’, Ain Shams Engineering Journal, 5, pp. 1093–1113. doi: 10.1016/j.asej.2014.04.011.
Ahire, S. (2023) A survey of sentiment lexicons. Computer Science and Engineering, IIT Bombay, pp. 1–7.
Cambria, E., Schuller, B., Xia, Y. și Havasi, C. (2013) ‘New avenues in opinion mining and sentiment analysis’, IEEE Intelligent Systems, 28, pp. 15–21. doi: 10.1109/MIS.2013.30.
Kolchyna, O., Souza, T.P., Treleaven, P. și Aste, T. (2015) ‘Twitter sentiment analysis: Lexicon method, machine learning method and their combination’, arXiv preprint arXiv:1507.00955, pp. 1–32.
Fikri, M. și Sarno, R. (2019) ‘A comparative study of sentiment analysis using SVM and SentiWordNet’, Indonesian Journal of Electrical Engineering and Computer Science, 13, pp. 902–909. doi: 10.11591/ijeecs.v13.i3.pp902-909.
Devlin, J., Chang, M.-W., Lee, K. și Toutanova, K. (2019) ‘BERT: Pre-training of deep bidirectional transformers for language understanding’, în Proceedings of NAACL-HLT 2019, pp. 4171–4186.
Zhang, L. și Liu, B. (2022) ‘Deep learning for sentiment analysis: A survey’, Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 12, 1433. doi: 10.1002/widm.1433.
Samek, W. și Müller, K.-R. (2019) ‘Towards explainable artificial intelligence’, Proceedings of the IEEE, 107, pp. 439–441. doi: 10.1109/JPROC.2019.2900622.
Esuli, A. și Sebastiani, F. (2006) ‘SentiWordNet: A publicly available lexical resource for opinion mining’, în Proceedings of LREC 2006, pp. 417–422.
Taboada, M., Brooke, J., Tofiloski, M., Voll, K. și Stede, M. (2011) ‘Lexicon-based methods for sentiment analysis’, Computational Linguistics, 37, pp. 267–307. doi: 10.1162/COLI_a_00049.
Kantor, P. (2001) ‘Foundations of statistical natural language processing’, Information Retrieval, 4, p. 80.
Chawla, N.V., Bowyer, K.W., Hall, L.O. și Kegelmeyer, W.P. (2002) ‘SMOTE: Synthetic minority over-sampling technique’, Journal of Artificial Intelligence Research, 16, pp. 321–357. doi:10.1613/jair.953.
Sammut, C. și Webb, G.I. (2017) Encyclopedia of machine learning and data mining, pp. 1–1326.
Karatu, M. și Hamza, K.A. (2026) ‘An ensemble of Naive Bayes variants and SentiWordNet with threshold adjustment for aspect based sentiment analysis on restaurant reviews’, International Journal of Innovative Science and Research Technology, 11, pp. 2140–2152.
Downloads
Published
How to Cite
License
Copyright (c) 2026 JOURNAL OF ENGINEERING SCIENCE

This work is licensed under a Creative Commons Attribution 4.0 International License.