Skip to main content

A Pipeline for Measuring Brand Loyalty Through Social Media Mining

  • Conference paper
  • First Online:
SOFSEM 2021: Theory and Practice of Computer Science (SOFSEM 2021)

Abstract

Enhancing customer relationships through social media is an area of high relevance for companies. To this aim, Social Business Intelligence (SBI) plays a crucial role by supporting companies in combining corporate data with user-generated content, usually available as textual clips on social media. Unfortunately, SBI research is often constrained by the lack of publicly-available, real-world data for experimental activities. In this paper, we describe our experience in extracting social data and processing them through an enrichment pipeline for brand analysis. As a first step, we collect texts from social media and we annotate them based on predefined metrics for brand analysis, using features such as sentiment and geolocation. Annotations rely on various learning and natural language processing approaches, including deep learning and geographical ontologies. Structured data obtained from the annotation process are then stored in a distributed data warehouse for further analysis. Preliminary results, obtained from the analysis of three well known ICT brands, using data gathered from Twitter, news portals, and Amazon product reviews, show that different evaluation metrics can lead to different outcomes, indicating that no single metric is dominant for all brand analysis use cases.

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.

    http://cloud.google.com/natural-language/docs.

  2. 2.

    http://scikit-learn.org/stable/.

  3. 3.

    https://github.com/zfz/twitter_corpus/blob/master/full-corpus.csv.

  4. 4.

    http://www.kaggle.com/kazanova/sentiment140.

  5. 5.

    http://keras.io/.

  6. 6.

    http://code.google.com/archive/p/geoloc-kde/.

  7. 7.

    http://www.geosparql.org/.

  8. 8.

    http://www.geonames.org/ontology/.

  9. 9.

    http://wiki.osmfoundation.org/.

  10. 10.

    http://cloud.google.com/natural-language/docs/analyzing-entities.

  11. 11.

    http://wiki.dbpedia.org/.

  12. 12.

    https://newsapi.org/.

  13. 13.

    https://developer.twitter.com/en/docs/tutorials/consuming-streaming-data

  14. 14.

    https://pypi.org/project/yahoo-finance/.

  15. 15.

    https://hadoop.apache.org/docs/r1.2.1/hdfs_design.html.

  16. 16.

    https://spark.apache.org/sql/.

  17. 17.

    http://www.tableau.com.

References

  1. Baccianella, S. et al.: An enhanced lexical resource for sentiment analysis and opinion mining. In: Proceedings of the International Conference on Language Resources and Evaluation, LREC (2010)

    Google Scholar 

  2. Castano, S., et al.: SABINE: a multi-purpose dataset of semantically-annotated social content. In: Vrandečić, D. (ed.) ISWC 2018. LNCS, vol. 11137, pp. 70–85. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-00668-6_5

    Chapter  Google Scholar 

  3. Cronin, J., et al.: Assessing the effects of quality, value, and customer satisfaction on consumer behavioral intentions in service environments. J. Retail. 76(2), 193–218 (2000)

    Article  Google Scholar 

  4. Kellogg, L.D. et al.: On the relationship between customer participation and satisfaction: Two frameworks. International Journal of Service Industry Management (1997)

    Google Scholar 

  5. Eisenstein, J. et al.: A latent variable model for geographic lexical variation. In: Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, EMNLP (2010)

    Google Scholar 

  6. Gallinucci, E., et al.: Advanced topic modeling for social business intelligence. Inf. Syst. 53, 87–106 (2015)

    Article  Google Scholar 

  7. Gelernter, J. et al.: Automatic gazetteer enrichment with user-geocoded data. In: Proceedings of the 2nd ACM SIGSPATIAL International Workshop on Crowdsourced and Volunteered Geographic Information, GEOCROWD (2013)

    Google Scholar 

  8. Goldberg, Y., Levy, O.: Word2vec explained: deriving Mikolov et al’.s negative-sampling word-embedding method (2014)

    Google Scholar 

  9. Golfarelli, M., Rizzi, S.: Data Warehouse Design: Modern Principles and Methodologies. McGraw-Hill, New York (2009)

    Google Scholar 

  10. Guggilla, C. et al.: CNN-and LSTM-based claim classification in online user comments. In: Proceedings of the 26th International Conference on Computational Linguistics, COLING (2016)

    Google Scholar 

  11. Hulden, M. et al.: Kernel density estimation for text-based geolocation. In: Proceedings of the 29th Twenty-Ninth AAAI Conference on Artificial Intelligence, pp. 145–150 (2015)

    Google Scholar 

  12. Kim, Y.: Convolutional neural networks for sentence classification. In: Proceedings of the International Conference on Conference on Empirical Methods in Natural Language Processing, EMNLP, pp. 1746–1751 (2014)

    Google Scholar 

  13. Leidner, J.L.: An evaluation dataset for the toponym resolution task. Comput. Environ. Urban Syst. 30(4), 400–417 (2006)

    Article  Google Scholar 

  14. Lee, J., et al.: Integrating structured data and text: a multi-dimensional approach. In: Proceedings of the IEEE International Symposium on Information Technology, ITCC, pp. 264–271 (2000)

    Google Scholar 

  15. Lieberman, M.D., Samet, H., Sankaranarayanan, J.: Geotagging with local lexicons to build indexes for textually-specified spatial data. In: Proceedings of of the International Conference on Data Engineering, ICDE, pp. 201–212 (2010)

    Google Scholar 

  16. Liu, B. and Zhang, L.: A survey of opinion mining and sentiment analysis. In: Aggarwal, C.C., Zhai, C. (eds.) Mining Text Data, pp. 415–463. Springer, Boston (2012) https://doi.org/10.1007/978-1-4614-3223-4_13

  17. Mikolov, T. et al.: Distributed representations of words and phrases and their compositionality. In: Proceedings of the 27th Annual Conference on Neural Information Processing Systems, pp. 3111–3119 (2013)

    Google Scholar 

  18. Mikolov, T. et al.: Linguistic regularities in continuous space word representations. In: Proceedings of Human Language Technologies: Conference of the North American Chapter of the Association of Computational Linguistics, pp. 746–751 (2013)

    Google Scholar 

  19. Mudinas, A. et al.: Combining lexicon and learning based approaches for concept-level sentiment analysis. Association for Computing Machinery (2012)

    Google Scholar 

  20. Parasuraman, P.A., et al.: A multiple- item scale for measuring consumer perceptions of service quality. J. Retail. 64(1), 12 (1988)

    Google Scholar 

  21. Parasuraman, A., et al.: A conceptual model of service quality and its implications for future research. J. Mark. 49(4), 41–50 (1985)

    Article  Google Scholar 

  22. Ravat, F. et al.: Top\_keyword: an aggregation function for textual document OLAP. In: Proceedings of the 10th International Conference on Data Warehousing and Knowledge Discovery, DaWaK, pp. 55–64 (2008)

    Google Scholar 

  23. Rahimi, A., Cohn, T., Baldwin, T.: Pigeo: a python geotagging tool. In: Proceedings of the ACL (System Demonstrations), pp. 127–132 (2016)

    Google Scholar 

  24. Rehman, N.U. et al.: Building a data warehouse for twitter stream exploration. In: Proceedings of the International Conference on Advances in Social Networks Analysis and Mining, ASONAM, pp. 1341–1348 (2012)

    Google Scholar 

  25. Di Rocco, L. et al.: The role of geographic knowledge in sub-city level geolocation. In: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing, SAC, pp. 687–689 (2019)

    Google Scholar 

  26. Stich, V. et Al: Social media analytics in customer service: a literature overview - an overview of literature and metrics regarding social media analysis in customer service. SciTePress (2015)

    Google Scholar 

  27. Suresh, S., S, G.R.T., Gopinath, V.: VoC-DL: revisiting voice of customer using deep learning. In: AAAI Press (2018)

    Google Scholar 

  28. Verhoef, P., et al.: Customer experience creation: determinants, dynamics and management strategies. J. Retail. 85(1), 31–41 (2009)

    Article  Google Scholar 

  29. Zhang, W., Gelernter, J.: Geocoding location expressions in twitter messages: a preference learning method. J. Spat. Inf. Sci. 9(1), 37–70 (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hazem Samoaa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Samoaa, H., Catania, B. (2021). A Pipeline for Measuring Brand Loyalty Through Social Media Mining. In: Bureš, T., et al. SOFSEM 2021: Theory and Practice of Computer Science. SOFSEM 2021. Lecture Notes in Computer Science(), vol 12607. Springer, Cham. https://doi.org/10.1007/978-3-030-67731-2_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-67731-2_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-67730-5

  • Online ISBN: 978-3-030-67731-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics