Skip to main content

Sentiment Analysis of Tunisian Users on Social Networks: Overcoming the Challenge of Multilingual Comments in the Tunisian Dialect

  • Conference paper
  • First Online:
Book cover Computational Collective Intelligence (ICCCI 2022)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13501))

Included in the following conference series:

Abstract

The presence of the dialect in the Arabic texts made Arabic sentiment analysis (ASA) a challenging issue, owing to it usually does not follow specific rules in writing systems, especially Tunisian Dialectical (TD) which presents an undertaking challenge due to its complexity, ambiguity, the morphological richness of the language, the absence of contextual information, the code-switching (CS) and mostly the multilingualism phenomena in textual productions. Recently, deep learning models have clearly demonstrated a great success in the field of sentiment analysis (SA). Although, the state-of-the-art accuracy for dialectical sentiment analysis (DSA) still needs improvements regarding contextual information and implicit sentiment expressed in different real cases. To address this challenge, we propose, an efficient Bidirectional LSTM network preceded by a preprocessing stage in order to enhance Tunisian SA, by applying Forward-Backward encapsulate contextual information from multilingual feature sequences. To evaluate our model, and due to the lack of publicly available multilingual resources associated with the TD, we collect different datasets available with different variants of TD to create our own multilingual corpus for sentiment classification. The experimental results based on the evaluation standards “Accuracy”, “Recall” and “F1-score” demonstrate that our model achieves significant improvements over the state-of-art deep learning models and the baseline traditional machine learning methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.digital-discovery.tn.

  2. 2.

    https://dictionary.cambridge.org/dictionary/english/code-switching.

  3. 3.

    https://github.com/mahmoudnabil/ASTD.

  4. 4.

    https://github.com/chaymafourati/TUNIZI-Sentiment-Analysis-Tunisian-Arabizi-Dataset.

  5. 5.

    https://github.com/fbougares/TSAC.

  6. 6.

    https://www.kaggle.com/naim99/tsnaimmhedhbiv2.

  7. 7.

    https://pandas.pydata.org.

  8. 8.

    https://github.com/SAMAWELJABALLI/MultilingualDataset_TD.

  9. 9.

    https://www.nltk.org.

  10. 10.

    https://keras.io/api/preprocessing/text.

  11. 11.

    https://keras.io/api/layers/core_layers/embedding.

  12. 12.

    https://keras.io/api/preprocessing/timeseries.

  13. 13.

    input_dim: The vocabulary size that we will choose.

  14. 14.

    output_dim: The number of dimensions we wish to embed into.

  15. 15.

    input_length: The length of input sequences.

  16. 16.

    https://scikit-learn.org.

  17. 17.

    Epoch = 4 (all models); Batch size = 128 and LSTM/CNN Units = 100.

  18. 18.

    https://github.com/SAMAWELJABALLI/MultilingualDataset_TD/.

References

  1. Ayadi, R., Maraoui, M., Zrigui, M.: Latent topic model for indexing Arabic documents. In: International Journal of Information Retrieval Res. 4(2), 57–72 (2014)

    Google Scholar 

  2. Merhben, L., Zouaghi, A., Zrigui, M.: Lexical disambiguation of arabic language: an experimental study. In: Polibits 46, 49–54 (2012)

    Google Scholar 

  3. Batita, M.A., Ayadi, R., Zrigui, M.: Reasoning over Arabic wordnet relations with neural tensor network. In: Computación y Sistemas 23(3), 935–942 (2019)

    Google Scholar 

  4. Haffar, N., Hkiri, E., Zrigui, M.: TimeML annotation of events and temporal expressions in Arabic texts. In: Nguyen, N.T., Chbeir, R., Exposito, E., Aniorté, P., Trawiński, B. (eds.) ICCCI 2019. LNCS (LNAI), vol. 11683, pp. 207–218. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-28377-3_17

    Chapter  Google Scholar 

  5. Bsir, B., Zrigui, M.: Enhancing deep learning gender identification with gated recurrent units architecture in social text. In: Computación y Sistemas 22(3), 757–766 (2018)

    Google Scholar 

  6. Mahmoud, A., Zrigui, M.: Deep neural network models for paraphrased text classification in the Arabic language. Natural Language Processing and Information Systems. Springer Cham (2019) https://doi.org/10.1007/978-3-030-23281-8_1

  7. Zrigui, S., Ayadi, R., Zouaghi, A., Zrigui, S.: Isao: An intelligent system of opinions analysis. In: Research in Computing Science 110(1), 21–30 (2016)

    Google Scholar 

  8. Sghaier, M.A., Zrigui, M.: Sentiment analysis for Arabic e-commerce websites. In: International Conference on Engineering & MIS (ICEMIS), pp. 1–7 (2016)

    Google Scholar 

  9. Merhbene, L., Zouaghi, A., Zrigui, M.: A semi-supervised method for Arabic word sense disambiguation using a weighted directed graph. In: Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 1027–1031 (2013)

    Google Scholar 

  10. Bellagha, M.L., Zrigui, M.: Using the MGB-2 challenge data for creating a new multimodal Dataset for speaker role recognition in Arabic TV Broadcasts In: Procedia Computer Science 192, 59–68 (2021)

    Google Scholar 

  11. Legrand, A., Trystram, D., Zrigui, S.: Adapting batch scheduling to workload characteristics: What can we expect from online learning? In: IEEE International Parallel and Distributed processing symposium (IPDPS), pp. 686–685. (2019)

    Google Scholar 

  12. Sghaier, M.A., Zrigui, M.: Rule-Based Machine Translation from Tunisian Dialect to Modern Standard Arabic. In: Procedia Computer Science 176, pp. 310–319 (2020)

    Google Scholar 

  13. Merhben, L., Zouaghi, A., Zrigui, M.: Disambiguation of Arabic language: an experimental study. In: Polibits 46, pp. 49–54 (2012)

    Google Scholar 

  14. Shoukry, A., Rafea, A.: Sentence-level arabic sentiment analysis. In: 2012 International Conference on Collaboration Technologies and Systems (CTS), pp. 546–550 (2012)

    Google Scholar 

  15. Abdul-Mageed, M., Diab, M., Kübler, S.: SAMAR: subjectivity and sentiment analysis for Arabic social media. In: Computer Speech Language 28(1), 20–37 (2014)

    Google Scholar 

  16. Salamah, J.B., Elkhlifi, A.: Microblogging opinion mining approach for Kuwaiti Dialect. In: Proceedings of the International Conference on Computing Technology and Information Management, pp. 388–396 (2014)

    Google Scholar 

  17. Abdelli, A., Guerrouf, F., Tibermacine, O., Abdelli, B.: Sentiment analysis of Arabic algerian dialect using a supervised method. In: 2019 International Conference on Intelligent Systems and Advanced Computing Sciences (ISACS), pp. 1–6 (2019)

    Google Scholar 

  18. Masmoudi, A., Hamdi, J., Belguith, L.H.: Deep learning for sentiment analysis of Tunisian Dialect. In: Computación y Sistemas 25(1), 129–148 (2021)

    Google Scholar 

  19. Medhaffar, S., Bougares, F., Esteve, Y., Hadrich-Belguith, L.: Sentiment analysis of tunisian dialects: Linguistic ressources and experiments. In: Proceedings of the third Arabic natural language processing workshop (WANLP), Valencia, Spain, pp. 55–61 (2017)

    Google Scholar 

  20. Fourati, C., Messaoudi, A., Haddad, H.: TUNIZI: a Tunisian Arabizi sentiment analysis Dataset. In: The International Conference on Learning Representations (ICLR) (2020)

    Google Scholar 

  21. Mulki, H., Haddad, H., Ali, C.B., Babaoğlu, I.: Tunisian dialect sentiment analysis: a natural language processing-based approach. In: Computación y Sistemas 22(4), 1223–1232 (2018)

    Google Scholar 

  22. Jerbi, M.A., Achour, H., Souissi, E.: Sentiment analysis of code-switched tunisian dialect: exploring RNN-based techniques. In: Smaïli, K. (ed.) ICALP 2019. CCIS, vol. 1108, pp. 122–131. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32959-4_9

    Chapter  Google Scholar 

  23. Nabil, M., Aly, M., Atiya, A.: ASTD: Arabic Sentiment Tweets Dataset. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 2515–2519 (2015)

    Google Scholar 

  24. Abdellaoui, H., Zrigui, M.: Using tweets and emojis to build TEAD: an arabic dataset for sentiment analysis. In: Computación y Sistemas 22(3), 777–786 (2018)

    Google Scholar 

  25. Haffar, N., Hkiri, E., Zrigui, M.: Using bidirectional LSTM and shortest dependency path for classifying arabic temporal relations. KES 2020, 370–379 (2020)

    Google Scholar 

  26. Bsir, B., Zrigui, M.: Bidirectional LSTM for author gender identification. In: International Conference on Computational Collective Intelligence, pp. 393–402 (2018)

    Google Scholar 

Download references

Acknowledgment

The authors would like to express their greatest gratitude to other members of the Research Laboratory in Algebra, Numbers theory and Intelligent Systems (RLANTIS) for their support and help to realize this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Samawel Jaballi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jaballi, S., Zrigui, S., Sghaier, M.A., Berchech, D., Zrigui, M. (2022). Sentiment Analysis of Tunisian Users on Social Networks: Overcoming the Challenge of Multilingual Comments in the Tunisian Dialect. In: Nguyen, N.T., Manolopoulos, Y., Chbeir, R., Kozierkiewicz, A., Trawiński, B. (eds) Computational Collective Intelligence. ICCCI 2022. Lecture Notes in Computer Science(), vol 13501. Springer, Cham. https://doi.org/10.1007/978-3-031-16014-1_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-16014-1_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-16013-4

  • Online ISBN: 978-3-031-16014-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics