journal article·2022-12-05Open access

Applying a Character-Level Model to a Short Arabic Dialect Sentence: A Saudi Dialect as a Case Study

Tahani Alqurashi

Applied Sciences· Volume 12· Issue 23

Abstract

Arabic dialect identification (ADI) has recently drawn considerable interest among researchers in language recognition and natural language processing fields. This study investigated the use of a character-level model that is effectively unrestricted in its vocabulary, to identify fine-grained Arabic language dialects in the form of short written text. The Saudi dialects, particularly the four main Saudi dialects across the country, were considered in this study. The proposed ADI approach consists of five main phases, namely dialect data collection, data preprocessing and labelling, character-based feature extraction, deep learning character-based model/classical machine learning character-based models, and model evaluation performance. Several classical machine learning methods, including logistic regression, stochastic gradient descent, variations of the naive Bayes models, and support vector classification, were applied to the dataset. For the deep learning, the character convolutional neural network (CNN) model was adapted with a bidirectional long short-term memory approach. The collected data were tested under various classification tasks, including two-, three- and four-way ADI tasks. The results revealed that classical machine learning algorithms outperformed the CNN approach. Moreover, the use of the term frequency–inverse document frequency, combined with a character n-grams model ranging from unigrams to four-grams achieved the best performance among the tested parameters.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Natural Language Processing Techniques · Authorship Attribution and Profiling · Topic Modeling

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Computer and Information Systems, Information System Department, Umm Al-Qura University, Makkah 24382, Saudi Arabia

References (35)

Show source-provided references
1. United Nations Educational, Scientific and Cultural Organization (UNESCO) (2020, June 13). World Arabic Language Day. Available online: https://en.unesco.org/commemorations/worldarabiclanguageday.
2. General Authority for Statistics, Kingdom of Saudi Arabia (2020, June 13). Saudi Census, Available online: https://www.stats.gov.sa/en.
3. Arabic natural language processing: An overview
4. Automatic language identification in texts: A survey10.1613/jair.1.11675 ↗
5. Malmasi, S., Refaee, E., and Dras, M. (2015, January 19–21). Arabic dialect identification using a parallel multidialectal corpus. Proceedings of the Conference of the Pacific Association for Computational Linguistics, Bali, Indonesia.10.1007/978-981-10-0515-2_3 ↗
6. Stede, M. (1993, January 21–23). Lexical choice criteria in language generation. Proceedings of the Sixth Conference of the European Chapter of the Association for Computational Linguistics, Utrecht, The Netherlands.10.3115/976744.976799 ↗
7. Darwish, K., Sajjad, H., and Mubarak, H. (2014, January 25–29). Verifiably effective arabic dialect identification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1154 ↗
8. Systematic literature review of dialectal Arabic: Identification and detection10.1109/ACCESS.2021.3059504 ↗
9. Salameh, M., Bouamor, H., and Habash, N. (2018, January 21–25). Fine-grained arabic dialect identification. Proceedings of the 27th International Conference on Computational Linguistics, Santa Fe, NM, USA.
10. Zhang, X., Zhao, J., and LeCun, Y. (2015). Character-level convolutional networks for text classification. Adv. Neural Inf. Process. Syst., 28.
11. Kim, Y. (2014, January 25–29). Convolutional Neural Networks for Sentence Classification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1181 ↗
12. Suar: Towards building a corpus for the Saudi dialect10.1016/j.procs.2018.10.462 ↗
13. Arasenti-tweet: A corpus for arabic sentiment analysis of saudi tweets10.1016/j.procs.2017.10.094 ↗
14. Althobaiti, M.J. (2020). Automatic Arabic Dialect Identification Systems for Written Texts: A Survey. arXiv.
15. Sadat, F., Kazemi, F., and Farzindar, A. (2014, January 11). Automatic Identification of Arabic Dialects in Social Media. Proceedings of the First International Workshop on Social Media Retrieval and Analysis, Gold Coast, QLD, Australia.10.1145/2632188.2632207 ↗
16. Adouane, W., Semmar, N., Johansson, R., and Bobicev, V. (2016, January 11–16). Automatic detection of arabicized berber and arabic varieties. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), Osaka, Japan.
17. Malmasi, S., Zampieri, M., Ljubešić, N., Nakov, P., Ali, A., and Tiedemann, J. (2016, January 11–16). Discriminating between Similar Languages and Arabic Dialect Identification: A Report on the Third DSL Shared Task. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), Osaka, Japan.
18. Adouane, W., Semmar, N., and Johansson, R. (2016, January 11–16). ASIREM participation at the discriminating similar languages shared task 2016. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), Osaka, Japan.
19. Eldesouki, M., Dalvi, F., Sajjad, H., and Darwish, K. (2016, January 11–16). Qcri@ dsl 2016: Spoken arabic dialect identification using textual features. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), Osaka, Japan.
20. Bouamor, H., Habash, N., and Oflazer, K. (2014, January 26–31). A Multidialectal Parallel Corpus of Arabic. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC’14), Reykjavik, Iceland.
21. Guggilla, C. (2016, January 12). Discrimination between Similar Languages, Varieties and Dialects using CNN- and LSTM-based Deep Neural Networks. Proceedings of the Third Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial3), Osaka, Japan.
22. Belinkov, Y., and Glass, J.R. (2016). A Character-level Convolutional Neural Network for Distinguishing Similar Languages and Dialects. arXiv.
23. Dinu, L.P., Ciobanu, A.M., Zampieri, M., and Malmasi, S. (2018). Classifier Ensembles for Dialect and Language Variety Identification. arXiv.
24. Zampieri, M., Malmasi, S., Nakov, P., Ali, A., Shon, S., Glass, J., Scherrer, Y., Samardžić, T., Ljubešić, N., and Tiedemann, J. (2018, January 20). Language Identification and Morphosyntactic Tagging: The Second VarDial Evaluation Campaign. Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018), Santa Fe, NM, USA.10.18653/v1/W17-1201 ↗
25. Ali, M. (2018, January 20). Character Level Convolutional Neural Network for Arabic Dialect Identification. Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018), Santa Fe, NM, USA.
26. Abdul-Mageed, M., Zhang, C., Elmadany, A.A., Bouamor, H., and Habash, N. (2021). NADI 2021: The Second Nuanced Arabic Dialect Identification Shared Task. arXiv.10.18653/v1/2022.wanlp-1.9 ↗
27. Nayel, H., Hassan, A., Sobhi, M., and El-Sawy, A. (2021, January 19). Machine Learning-Based Approach for Arabic Dialect Identification. Proceedings of the Sixth Arabic Natural Language Processing Workshop, Kiev, Ukraine.
28. Wadhawan, A. (2021). Dialect Identification in Nuanced Arabic Tweets Using Farasa Segmentation and AraBERT. arXiv.
29. Yanguas, L.R., O’Leary, G.C., and Zissman, M.A. (December, January 30). Incorporating linguistic knowledge into automatic dialect identification of Spanish. Proceedings of the Fifth International Conference on Spoken Language Processing, Sydney, NSW, Australia.
30. Selective training for hidden Markov models with applications to speech classification10.1109/89.736330 ↗
31. Al-Darsouni, S. (2012). A Dictionary of Spoken Dialects in Saudi Arabia, The Vocabulary and Vocabulary of Dialects of Tribes and Regions, King Fahad National Library.
32. Nair, V., and Hinton, G.E. (2010, January 21–24). Rectified linear units improve restricted boltzmann machines. Proceedings of the 27th International Conference on Machine Learning (ICML 2010), Haifa, Israel.
33. Hardeniya, N. (2015). NLTK Essentials, Packt Publishing Ltd.
34. Scikit-learn: Machine Learning in Python
35. Team, K. (2022, July 03). Keras. Available online: https://github.com/fchollet/keras.