Conversational Intelligence: NLP-Powered WhatsApp Chat Analysis

Authors

  • Apoorva K. Student, Department of Artificial Intelligence and Machine Learning, Jaya Prakash Narayan College of Engineering, Mahbubnagar, Telangana, India
  • Brahmani G. Student, Department of Artificial Intelligence and Machine Learning, Jaya Prakash Narayan College of Engineering, Mahbubnagar, Telangana, India
  • Syeda Hifsa Naaz Assistant Professor, Department of Artificial Intelligence and Machine Learning, Jaya Prakash Narayan College of Engineering, Mahbubnagar, Telangana, India
  • T. Aditya Sai Srinivas Assistant Professor, Department of Artificial Intelligence and Machine Learning, Jaya Prakash Narayan College of Engineering, Mahbubnagar, Telangana, India

DOI:

https://doi.org/10.46610/RTAIA.2025.v04i01.004

Keywords:

Named entity recognition, NLP techniques, Sentiment analysis, Topic classification, WhatsApp chat analysis

Abstract

With the increasing use of WhatsApp and similar messaging platforms, millions of conversations take place daily, generating vast amounts of chat data. This research explores how Natural Language Processing (NLP) can analyze these conversations to uncover insights into user behavior, emotions, and communication patterns. Key NLP techniques include sentiment analysis to determine emotional tones, topic classification to distinguish between personal and professional discussions, and Named Entity Recognition (NER) to extract important details like names, locations, and dates. These methods help in understanding conversational trends and user engagement. To process the chat data effectively, text preprocessing will be done using Pandas, NLTK, and SpaCy. Sentiment detection will be performed using TextBlob, while Matplotlib and Seaborn will be used for data visualization. These visualizations will highlight trends in engagement, sentiment variations, and emotional dynamics within conversations.  The findings from this research have practical applications in customer service, mental health monitoring, and market research. Businesses can enhance customer interactions, mental health professionals can identify emotional distress, and marketers can better understand consumer sentiment. By applying NLP techniques, this study aims to optimize communication strategies, improve decision-making, and offer deeper insights into digital interactions.

References

J. Ho, P. Ji, W. Chen, and R. Hsieh, “Identifying Google Talk packets,” 2009 IEEE International Conference on Intelligence and Security Informatics, Dallas, TX, USA, Jun. 2009, pp. 285-290. Available: https://ieeexplore.ieee.org/abstract/document/5137327.

D. Bouhnik and M. Deshen, “WhatsApp goes to school: Mobile instant messaging between teachers and students,” J. Inf. Technol. Educ. Res., vol. 13, pp. 217–231, 2014. Available:https://jite.org/documents/Vol13/JITEv13ResearchP217-231Bouhnik0601.pdf.

J. Fei, J. S. Wolff, M. Hotard, H. Ingham, S. Khanna, D. Lawrence, B. Tesfaye, J. Weinstein, V. Yasenov, and J. Hainmueller, “Automated chat application surveys using WhatsApp: evidence from panel surveys and a mode experiment,” IZA-Institute of Labor Economics, Apr. 28, 2022. Available: https://www.jstor.org/stable/pdf/resrep64566.pdf?acceptTC=true&coverpage=false&addFooter=false.

B. K. Chae, “Insights from supplychain and Twitter Analytics: Considering Twitter and Twitter data for supply chain practice and research,” Int. J. Prod. Econ., vol. 165, pp. 247–259, Jul. 2015. Available: https://www.sciencedirect.com/science/article/abs/pii/S0925527314004319.

K. Singh, R. Bhatia, and D. P. Akki, “WhatsApp Chat Exploratory Data Analysis,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 11, no. 5, pp. 809–820, 2023. Available: https://www.ijraset.com/best-journal/whatsapp-chat-exploratory-data-analysis.

J. Yeboah and G. D. Ewur, “The impact of WhatsApp messenger usage on students’ performance in tertiary institutions in Ghana,” J. Educ. Pract., vol. 5, no. 6, pp. 157–164, 2014. Available: https://www.academia.edu/download/68375020/11241-13554-1-PB.pdf.

H. Kurniawan, M. A. Fazar, N. R. Fauziah, Yoan, and I. R. Munthe, “WhatsApp chatbot implementation for new students University of Labuhanbatu,” Jurnal Mantik, vol. 5, no. 2, pp. 932–939, 2021. Available: https://docs.opendeved.net/lib/SX86U9EJ.

D. M. Dickson, “An examination into Yahoo Messenger 7.0 contact identification,” Digital Investigation, vol. 3, no. 3, pp. 159-165, Sep. 2006. Available: https://www.sciencedirect.com/science/article/abs/pii/S174228760600096X.

Ahmed and K. A. P., “Mobile phone to youngsters: Necessity or addiction,” Inf. Manag. Bus. Rev., vol. 2, no. 5, pp. 229–238, 2011. Available: https://ojs.amhinternational.com/index.php/imbr/article/view/902.

S. Patil, “Whatsapp group data analysis with R,” Int. J. Comput. Appl., vol. 154, no. 4, 2016. Available: https://www.ijcaonline.org/archives/volume154/number4/26482-2016912116/.

K. Ravishankara, V. Dhanush, and I. S. Srajan, “WhatsApp chat analyzer,” International Journal of Engineering Research & Technology, vol. 9, no. 5, pp. 897-900, May 2020. Available: https://www.ijert.org/whatsapp-chat-analyzer.

Y. S., S. Gochhait, H. A. Khalid, S. N. Bukhari, A. Yaqub, and M. Abubakr, “WhatsApp Chat Analysis: Unveiling Insights through Data Processing and Visualization Techniques,” 2024 ASU International Conference in Emerging Technologies for Sustainability and Intelligent Systems (ICETSIS), Jan. 28, 2024, pp. 862–865, IEEE. Available: https://ieeexplore.ieee.org/abstract/document/10459604.

M. De Choudhury, S. Counts, and E. Horvitz, “Predicting postpartum changes in emotion and behavior via social media,” Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 3267–3276, Apr. 2013. Available: https://dl.acm.org/doi/abs/10.1145/2470654.2466447.

Statista, “Number of monthly active WhatsApp users worldwide from April 2013 to March 2020 (in millions),” Statista, 2020. [Online] Available: https://www.statista.com/statistics/260819/number-of-monthly-active-whatsapp-users/.

S. Pituk, J. Shinde, V. Jadhav, V. Bidoo, B. Balkhande, and P. Manegopale, “WhatsApp Chat Analysis Using Machine Learning,” Int. J. Sci. Res. Eng. Manag., vol. 8, no. 5, pp. 1–7, 2024. Available: https://ijsrem.com/download/whatsapp-chat-analysis-using-machine-learning/.

B. A. Bandi and A. A. Fellah, “Socio-analyzer: A sentiment analysis using social media data,” in Proceedings of the 28th International Conference, vol. 64, pp. 61-67, 2019. Available: https://easychair.org/publications/paper/HJnm.

S. BK, A. K. Jaiswal, A. Shroff, A. K. Dixit, O. N. Kushwaha, and N. K. Shah, “Sentiments detection for Amazon product review,” 2021 International Conference on Computer Communication and Informatics (ICCCI), Jan. 2021, pp. 1–6. https://ieeexplore.ieee.org/abstract/document/9402414

N. Aharony and T. Gazit, "The importance of the WhatsApp family group: an exploratory analysis," Aslib J. Inf. Manag., vol. 68, no. 2, pp. 174–192, Mar. 2016. https://www.emerald.com/insight/content/doi/10.1108/ajim-09-2015-0142/full/html

S. Rajan, Build Web App Instantly for Machine Learning Using Streamlit, 2021. https://www.analyticsvidhya.com/blog/2021/06/build-web-app-instantly-for-machine-learning-using-streamlit/

S. MB, "Exploring Ant Colony Optimization for Enhanced Routing in IoT Networks: A Survey," Advancement in Image Processing and Pattern Recognition, vol. 7, no. 1, pp. 68-83, 2024. http://hbrppublication.com/OJS/index.php/AIPPR/article/view/4267

V. D. Srihith, I. V. S. Kumar, R. Varaprasad, Y. R. Mohan, T. A. S. Srinivas, and Y. Sravanthi, "Future of smart cities: The role of machine learning and artificial intelligence," South Asian Research Journal of Engineering and Technology, vol. 4, no. 5, pp. 110–119, 2022. https://sarpublication.com/media/articles/SARJET_45_110-119.pdf

Published

2025-03-17

Issue

Section

Articles