Abstract
Arab customers give their comments and opinions daily, and it increases dramatically through online reviews of products or services from companies, in both Arabic, and its dialects. This text describes the user’s condition or needs for satisfaction or dissatisfaction, and this evaluation is either negative or positive polarity. Based on the need to work on Arabic text sentiment analysis problem, the case of the Jordanian dialect. The main purpose of this paper is to classify text into two classes: negative or positive which may help the business to maintain a report about service or product. The first phase has tools used in natural language processing; the stemming, stop word removal, and tokenization to filtering the text. The second phase, modified the Artificial Bee Colony (ABC) Algorithm, with Upper Confidence Bound (UCB) Algorithm, to promote the exploitation ability for the minimum dimension, to get the minimum number of the optimal feature, then using forward feature selection strategy by four classifiers of machine learning algorithms: (K-Nearest Neighbors (KNN), Support vector machines (SVM), Naïve-Bayes (NB), and Polynomial Neural Networks (PNN). This proposed model has been applied to the Jordanian dialect database, which contains comments from Jordanian telecom company’s customers. Based on the results of sentiment analysis few suggestions can be provided to the products or services to discontinue or drop, or upgrades it. Moreover, the proposed model is applied to the database of the Algerian dialect, which contains long Arabic texts, in order to see the efficiency of the proposed model for short and long texts. Four performance evaluation criteria were used: precision, recall, f1-score, and accuracy. For a future step, in order to build on or use for the classification of Arabic dialects, the experimental results show that the proposed model gives height accuracy up to 99% by applying to the Jordanian dialect, and a 82% by applying to the Algerian dialect.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Proudfoot, D. (2020). Rethinking turing’s test and the philosophical implications. Minds and Machines, 1–26.
Janani, R., & Vijayarani, S. (2020). Automatic text classification using machine learning and optimization algorithms. Soft Computing, 1–17.
Elnagar, A., Al-Debsi, R., & Einea, O. (2020). Arabic text classification using deep learning models. Information Processing & Management, 57(1), 102121.
Karaboga, D., Gorkemli, B., Ozturk, C., & Karaboga, N. (2014). A comprehensive survey: Artificial bee colony (ABC) algorithm and applications. Artificial Intelligence Review, 42(1), 21–57.
Jiang, D., Yue, X., Li, K., Wang, S., & Guo, Z. (2015). Elite opposition-based artificial bee colony algorithm for global optimization. International Journal of Engineering, 28(9), 1268–1275.
Alzaqebah, A., Smadi, B., & Hammo, B. H. (2020, April). Arabic sentiment analysis based on salp swarm algorithm with S-shaped transfer functions. In 2020 11th International Conference on Information and Communication Systems (ICICS) (pp. 179–184). IEEE.
Guellil, I., Adeel, A., Azouaou, F., Benali, F., Hachani, A. E., Dashtipour, K., ... & Hussain, A. (2021). A semi-supervised approach for sentiment analysis of arab (ic+ izi) messages: Application to the algerian dialect. SN Computer Science, 2(2), 1–18.
Thirumoorthy, K., & Muneeswaran, K. (2020). Optimal feature subset selection using hybrid binary Jaya optimization algorithm for text classification. Sādhanā, 45(1), 1–13.
Chantar, H., Mafarja, M., Alsawalqah, H., Heidari, A. A., Aljarah, I., & Faris, H. (2020). Feature selection using binary grey wolf optimizer with elite-based crossover for Arabic text classification. Neural Computing and Applications, 32(16), 12201–12220.
Zheng, W., & **, M. (2020). Comparing multiple categories of feature selection methods for text classification. Digital Scholarship in the Humanities, 35(1), 208–224.
Hussein, O., Sfar, H., Mitrović, J., & Granitzer, M. (2020, December). NLP_Passau at SemEval-2020 Task 12: Multilingual neural network for offensive language detection in English, Danish and Turkish. In Proceedings of the Fourteenth Workshop on Semantic Evaluation (pp. 2090–2097).
Pan, Y., & Liang, M. (2020, June). chinese text sentiment analysis based on BI-GRU and self-attention. In 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC) (vol. 1, pp. 1983–1988). IEEE.
Rachid, B. A., Azza, H., & Ghezala, H. H. B. (2020, July). Classification of cyberbullying text in Arabic. In 2020 International Joint Conference on Neural Networks (IJCNN) (pp. 1–7). IEEE.
Guo, Z., Shi, J., **ong, X., **a, X., & Liu, X. (2019). Chaotic artificial bee colony with elite opposition-based learning. International Journal of Computational Science and Engineering, 18(4), 383–390.
Almani, N., & Tang, L. H. (2020, March). Deep attention-based review level sentiment analysis for Arabic reviews. In 2020 6th Conference on Data Science and Machine Learning Applications (CDMA) (pp. 47–53). IEEE.
Hanbay, K. (2021). A new standard error based artificial bee colony algorithm and its applications in feature selection. Journal of King Saud University-Computer and Information Sciences.
Chaudhuri, A., & Sahu, T. P. (2021). Feature weighting for naïve Bayes using multi objective artificial bee colony algorithm. International Journal of Computational Science and Engineering, 24(1), 74–88.
Obeid, O., Zalmout, N., Khalifa, S., Taji, D., Oudah, M., Alhafni, B., ... & Habash, N. (2020, May). CAMeL tools: An open source python toolkit for Arabic natural language processing. In Proceedings of the 12th language resources and evaluation conference (pp. 7022–7032).
Ayedh, A., Tan, G., Alwesabi, K., & Rajeh, H. (2016). The effect of preprocessing on arabic document categorization. Algorithms, 9(2), 27.
Chen, P. H. (2020). Essential elements of natural language processing: What the radiologist should know. Academic radiology, 27(1), 6–12.
Vijayaraghavan, S., & Basu, D. (2020). Sentiment analysis in drug reviews using supervised machine learning algorithms. ar**v preprint ar**v:2003.11643.
Karaboga, D. (2005). An idea based on honey bee swarm for numerical optimization (vol. 200, pp. 1–10). Technical report-tr06, Erciyes university, engineering faculty, computer engineering department.
Ghambari, S., & Rahati, A. (2018). An improved artificial bee colony algorithm and its application to reliability optimization problems. Applied Soft Computing, 62, 736–767.
**ang, Z., **ang, C., Li, T., & Guo, Y. (2020). A self-adapting hierarchical actions and structures joint optimization framework for automatic design of robotic and animation skeletons. Soft Computing, 1–14.
Sharma, A., Sharma, A., Choudhary, S., Pachauri, R. K., Shrivastava, A., & Kumar, D. A. (2020). Review on artificial bee colony and it’s engineering applications. Journal of Critical Reviews.
Li, Y. (2020). Comparison of various multi-armed bandit algorithms (ϵ-greedy, ompson sampling and UCB-) to standard A/B testing.
Hijazi, M., Zeki, A., & Ismail, A. (2021). Arabic text classification using hybrid feature selection method using chi-square binary artificial bee colony algorithm. Computer Science, 16(1), 213–228.
Zhang, X., Fan, M., Wang, D., Zhou, P., & Tao, D. (2020). Top-k feature selection framework using robust 0–1 integer programming. IEEE Transactions on Neural Networks and Learning Systems.
Janani, R., & Vijayarani, S. (2020). Automatic text classification using machine learning and optimization algorithms. Soft Computing, 1–17.
Dhar, A., Mukherjee, H., Dash, N. S., & Roy, K. (2021). Text categorization: Past and present. Artificial Intelligence Review, 54(4), 3007–3054.
Sheykhmousa, M., Mahdianpari, M., Ghanbari, H., Mohammadimanesh, F., Ghamisi, P., & Homayouni, S. (2020). Support vector machine vs. random forest for remote sensing image classification: A meta-analysis and systematic review. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing.
Saadatfar, H., Khosravi, S., Joloudari, J. H., Mosavi, A., & Shamshirband, S. (2020). A new K-nearest neighbors classifier for big data based on efficient data pruning. Mathematics, 8(2), 286.
Ruan, S., Li, H., Li, C., & Song, K. (2020). Class-specific deep feature weighting for Naïve Bayes text classifiers. IEEE Access, 8, 20151–20159.
Oh, S. K., Pedrycz, W., & Park, B. J. (2003). Polynomial neural networks architecture: Analysis and design. Computers & Electrical Engineering, 29(6), 703–725.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Habeeb, A. et al. (2023). Arabic Text Classification Using Modified Artificial Bee Colony Algorithm for Sentiment Analysis: The Case of Jordanian Dialect. In: Abualigah, L. (eds) Classification Applications with Deep Learning and Machine Learning Technologies. Studies in Computational Intelligence, vol 1071. Springer, Cham. https://doi.org/10.1007/978-3-031-17576-3_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-17576-3_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-17575-6
Online ISBN: 978-3-031-17576-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)