Skip to main navigation Skip to search Skip to main content

Smart Customer Care: Scraping Social Media to Predict Customer Satisfaction in Egypt Using Machine Learning Models

  • Mohamed Anwar
  • , Karim Omar
  • , Ahmed Abbas
  • , Fakhreldin Abdelmonim
  • , Mohammad Refaie
  • , Walaa Medhat
  • , Aly Abdelrazek
  • , Yomna Eid
  • , Eman Gawish

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

This paper proposes the utilization of posts from social media to extract and analyze customer opinions and sentiments towards any specified topic in Egypt. Summarized statistics and sentiment values are then displayed to the consumer (companies such as Vodafone, WE etc.) through both an attractive and functional user interface. Text, location, and time of thous and s of posts are scrapped, stored, preprocessed, then managed through topic modelling to infer all the hidden themes and delivered to a Recurrent Neural Network (RNN) to output whether the topic was positive or negative. Topic modelling was implemented using the BERT architecture and AraBert word embedding. Sentiment analysis model training was conducted on approximately 4000 rows of processed data and made use of Arabic glove embedding to speed up sentiment and word pattern recognition. Five models were experimented on: LSTM, GRU, CNN, LSTM + CNN and GRU + CNN. Overall, the GRU was the model with the best results, concluding with an accuracy of (86.19%), loss of (0.3349) and an F1-score of (0.858) when validating through the test data.

Original languageEnglish
Title of host publicationProceedings of the 20th Conference on Language Engineering, ESOLEC 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages27-34
Number of pages8
ISBN (Electronic)9781665453226
DOIs
StatePublished - 2022
Externally publishedYes
Event20th International Conference on Language Engineering, ESOLEC 2022 - Cairo, Egypt
Duration: 12 Oct 202213 Oct 2022

Publication series

NameProceedings of the 20th Conference on Language Engineering, ESOLEC 2022

Conference

Conference20th International Conference on Language Engineering, ESOLEC 2022
Country/TerritoryEgypt
CityCairo
Period12/10/2213/10/22

Bibliographical note

Publisher Copyright:
© 2022 IEEE.

Keywords

  • Arabic language
  • CNN
  • Customer satisfaction
  • Egypt
  • GRU
  • LSTM
  • RNN
  • Sentiment analysis
  • Social media
  • Topic Modelling

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Science Applications
  • Information Systems and Management
  • Linguistics and Language

Fingerprint

Dive into the research topics of 'Smart Customer Care: Scraping Social Media to Predict Customer Satisfaction in Egypt Using Machine Learning Models'. Together they form a unique fingerprint.

Cite this