An opinionated sentiment analysis using a rule-based method
2025, Bulletin of Electrical Engineering and Informatics
https://doi.org/10.11591/EEI.V14I1.8568Abstract
The categorization of opinions into positive, negative, or neutral facilitates information gathering, pinpointing individual weaknesses, and streamlining the decision-making process. Precision in opinion classification enables decision-makers to extract valuable insights, make well-informed decisions, and execute suitable actions. Sentiment analysis is language-specific due to the distinct morphological structures unique to each language, distinguishing them from one another. This study implemented a rule-based sentiment analysis approach for Kafi-noonoo opinionated texts, leveraging a rule-based system tailored for smaller datasets that operate based on a predefined set of rules. The rule-based mechanism calculates the overall polarity of a given sentence by applying a set of rules and categorizes it into positive, negative, or neutral sentiments upon identifying sentimental terms from a dedicated file. While the analysis utilized 1,500 words sourced from Facebook and music review samples, the modest sample size yielded satisfactory results. Performance evaluation metrics such as precision, recall, and F-measure were employed, indicating positive word scores of 91%, 86%, and 88.4%, and negative word scores of 80%, 75%, and 77%, respectively.
References (25)
- A. Braoudaki, E. Kanellou, C. Kozanitis, and P. Fatourou, "Hybrid data data driven driven and rule rule based based sentiment sentiment analysis analysis on Greek Greek text text," Procedia Computer Science, vol. 178, no. 2020, pp. 234-243, 2020, doi: 10.1016/j.procs.2020.11.025.
- H. Rahab, H. Haouassi, and A. Laouid, "Rule-based Arabic sentiment analysis using binary equilibrium optimization algorithm," Arabian Journal for Science and Engineering, vol. 48, no. 2, pp. 2359-2374, 2023, doi: 10.1007/s13369-022-07198-2.
- P. Kaur, "Sentiment analysis using web scraping for live news data with machine learning algorithms," Materials Today: Proceedings, vol. 65, pp. 3333-3341, 2022, doi: 10.1016/j.matpr.2022.05.409.
- P. Chikersal, S. Poria, and E. Cambria, "SeNTU: sentiment analysis of tweets by combining a rule-based classifier with supervised learning," Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), 2015, pp. 647- 651, doi: 10.18653/v1/s15-2108.
- A. M. Alnasrawi, A. M. Alzubaidi, and A. A. Al-Moadhen "Improving sentiment analysis using text network features within different machine learning algorithms," Bulletin of Electrical Engineering and Informatics, vol. 13, no. 1, pp. 405-412, Feb. 2024, doi: 10.11591/eei.v13i1.5576.
- M. I. Liaqat, M. A. Hassan, M. Shoaib, S. K. Khurshid, and M. A. Shamseldin, "Sentiment analysis techniques, challenges, and opportunities: Urdu language-based analytical study," PeerJ Computer Science, vol. 8, 2022, doi: 10.7717/PEERJ-CS.1032.
- B. Saju, S. Jose and A. Antony, "Comprehensive study on sentiment analysis: types, approaches, recent applications, tools and APIs," 2020 Advanced Computing and Communication Technologies for High Performance Applications (ACCTHPA), Cochin, India, 2020, pp. 186-193, doi: 10.1109/ACCTHPA49271.2020.9213209.
- S. Hamed, M. Ezzat, and H. Hefny, "A review of sentiment analysis techniques," International Journal of Computer Applications, vol. 176, no. 37, pp. 20-24, 2020, doi: 10.5120/ijca2020920480.
- V. A. Kharde and S. S. Sonawane, "Sentiment analysis of Twitter data: a survey of techniques," International Journal of Computer Applications, vol. 139, no. 11, pp. 5-15, 2016, doi: 10.5120/ijca2016908625.
- S. Kumar, "Sentiment Analysis," Python for Accounting and Finance, pp. 265-300, 2024, doi: 10.1007/978-3-031-54680-8_17.
- A. Abdelrazeq, D. Janßen, C. Tummel, S. Jeschke, and A. Richert, "Sentiment analysis of social media for evaluating universities," Automation, Communication and Cybernetics in Science and Engineering 2015/2016, pp. 233-251, 2016, doi: 10.1007/978-3-319-42620-4_19.
- A. Yenkikar, N. Babu and S. Sangve, "R-SA: a rule-based expert system for sentiment analysis," 2019 IEEE Pune Section International Conference (PuneCon), Pune, India, 2019, pp. 1-7, doi: 10.1109/PuneCon46936.2019.9105682.
- B. Pang and L. Lee, "Opinion mining and sentiment analysis," Computational Linguistics, vol. 35, no. 2, pp. 311-312, Jun. 2009, doi: 10.1162/coli.2009.35.2.311.
- A. S. Talaat, "Sentiment analysis classification system using hybrid BERT models," Journal of Big Data, vol. 10, no. 1, jun. 2023, doi: 10.1186/s40537-023-00781-w.
- M. B. M. A. Busst, K. S. M. Anbananthen, and S. Kannan, "Aspect-level sentiment analysis through aspect-oriented features," HighTech and Innovation Journal, vol. 5, no. 1, pp. 109-128, 2024, doi: 10.28991/HIJ-2024-05-01-09.
- M. S. Solanki, "Sentiment analysis of text using rule based and natural language toolkit," International Journal of Innovative Technology and Exploring Engineering (IJITEE), vol. 8, no. 12S, pp. 164-168, Oct. 2019, doi: 10.35940/ijitee.l1049.10812s19.
- Y. Bidulya and E. Brunova, "Sentiment analysis for bank service quality: A rule-based classifier," 2016 IEEE 10th International Conference on Application of Information and Communication Technologies (AICT), Baku, Azerbaijan, 2016, pp. 1-4, doi: 10.1109/ICAICT.2016.7991688.
- H. Liu and M. Cocea, "Fuzzy rule based systems for interpretable sentiment analysis," 2017 Ninth International Conference on Advanced Computational Intelligence (ICACI), Doha, Qatar, 2017, pp. 129-136, doi: 10.1109/ICACI.2017.7974497.
- N. Saraswathi, T. S. Rooba, and S. Chakaravarthi, "Improving the accuracy of sentiment analysis using a linguistic rule-based feature selection method in tourism reviews," Measurement: Sensors, vol. 29, Oct. 2023, doi: 10.1016/j.measen.2023.100888.
- C. Kumaresan and P. Thangaraju, "Sentiment analysis in multiple languages: a review of current approaches and challenges," REST Journal on Data Analytics and Artificial Intelligence, vol. 2, no. 1, pp. 8-15, 2023, doi: 10.46632/jdaai/2/1/2.
- L. I. Tan, W. S. Phang, K. O. Chin and A. Patricia, "Rule-based sentiment analysis for financial news," 2015 IEEE International Conference on Systems, Man, and Cybernetics, Hong Kong, China, 2015, pp. 1601-1606, doi: 10.1109/SMC.2015.283.
- I. Paramonov and A. Poletaev, "Adaptation of semantic rule-based sentiment analysis approach for Russian language," 2021 30th Conference of Open Innovations Association FRUCT, Oulu, Finland, 2021, pp. 155-164, doi: 10.23919/FRUCT53335.2021.9599992.
- M. Bordoloi and S. K. Biswas, "Sentiment analysis: A survey on design framework, applications, and future scopes," Artificial Intelligence Review, vol. 56, no. 11, pp. 12505-12560, 2023, doi 10.1007/s10462-023-10442-2.
- T. Mulugeta and G. Mengistu, "The phonology of Kafi Noonoo ideophones," Macrolinguistics and Microlinguistics, vol. 3, no. 1/2, pp. 15-38, 2022, doi: 10.21744/mami.v3n1/2.29.
- P. Ray and A. Chakrabarti, "A mixed approach of deep learning method and rule-based method to improve aspect level sentiment analysis," Applied Computing and Informatics, vol. 18, no. 1-2, pp. 163-178, Aug. 2022, doi: 10.1016/j.aci.2019.02.002.