World Perception of the Latest Events in Egypt Based on Sentiment Analysis of the Guardian’s Related Articles

  • Walid GomaaEmail author
  • Reda Elbasiony
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 921)


In order to infer how the world has perceived the unfolding of events in Egypt during the last eight years, we take the Guardian newspaper as a sample study to extract valuable information about the world viewpoints on the big events in Egypt during this period. We perform a sentiment analysis on all the articles in the ‘World’ section of the newspaper from the beginning of 2010 till the end of 2017 based on just the keyword ‘Egypt’. We extracted Unigram tokens from each article and used them for making inference using three lexicons dictionaries: afinn, nrc, and bing. The results show that the general trend is slightly negative over all the selected period. Many conflicting feelings were prevalent during this period such as positive, negative, trust, fear, anger and anticipation. The results show also that years 2011 and 2013, where the world witnessed the two uprisings in Egypt, have witnessed the peaks in both positive and negative emotions.


Sentiment analysis Lexicon-based Guardian afinn nrc bing 


  1. 1.
    Balahur, A., Steinberger, R., Kabadjov, M., Zavarella, V., Van Der Goot, E., Halkia, M., Pouliquen, B., Belyaeva, J.: Sentiment analysis in the news. arXiv preprint arXiv:1309.6202 (2013)
  2. 2.
    Boiy, E., Moens, M.F.: A machine learning approach to sentiment analysis in multilingual web texts. Inf. Retr. 12(5), 526–558 (2009)CrossRefGoogle Scholar
  3. 3.
    Godbole, N., Srinivasaiah, M., Skiena, S.: Large-scale sentiment analysis for news and blogs. Icwsm 7(21), 219–222 (2007)Google Scholar
  4. 4.
    Hu, M., Liu, B.: Mining and summarizing customer reviews. In: Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD 2004, pp. 168–177. ACM, New York (2004).
  5. 5.
    Kim, S.M., Hovy, E.: Determining the sentiment of opinions. In: Proceedings of the 20th International Conference on Computational Linguistics, p. 1367. Association for Computational Linguistics (2004)Google Scholar
  6. 6.
    Maas, A.L., Daly, R.E., Pham, P.T., Huang, D., Ng, A.Y., Potts, C.: Learning word vectors for sentiment analysis. In: Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, vol. 1, pp. 142–150. Association for Computational Linguistics (2011)Google Scholar
  7. 7.
    Maynard, D., Funk, A.: Automatic detection of political opinions in tweets. In: Extended Semantic Web Conference, pp. 88–99. Springer, Heidelberg (2011)Google Scholar
  8. 8.
    Medhat, W., Hassan, A., Korashy, H.: Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5(4), 1093–1113 (2014)CrossRefGoogle Scholar
  9. 9.
    Mohammad, S., Turney, P.D.: Crowdsourcing a word-emotion association lexicon. Comput. Intell. 29, 436–465 (2013)MathSciNetCrossRefGoogle Scholar
  10. 10.
    Mohammad, S.M., Turney, P.D.: Emotions evoked by common words and phrases: using mechanical turk to create an emotion lexicon. In: Proceedings of the NAACL HLT 2010 Workshop on Computational Approaches to Analysis and Generation of Emotion in Text. CAAGET 2010 (2010)Google Scholar
  11. 11.
    Nielsen, F.Å.: A new ANEW: evaluation of a word list for sentiment analysis in microblogs. arXiv preprint arXiv:1103.2903 (2011)
  12. 12.
    Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up?: sentiment classification using machine learning techniques. In: Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing, vol. 10, pp. 79–86. Association for Computational Linguistics (2002)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Egypt Japan University of Science and TechnologyAlexandriaEgypt
  2. 2.Faculty of EngineeringAlexandria UniversityAlexandriaEgypt
  3. 3.Faculty of EngineeringTanta UniversityTantaEgypt

Personalised recommendations