Scholarly open access journals, Peer-reviewed, and Refereed Journals, Impact factor 8.14 (Calculate by google scholar and Semantic Scholar | AI-Powered Research Tool) , Multidisciplinary, Monthly, Indexing in all major database & Metadata, Citation Generator, Digital Object Identifier(DOI)
Mental health issues such as anxiety, depression, and suicidal tendencies are increasing rapidly in today's digital world. With the rise of social media and online communication platforms, individuals frequently express their emotions through text-based interactions. This research presents an AI-based system that utilizes Natural Language Processing (NLP) and Machine Learning techniques to detect emotional states from user-generated text.
The proposed system classifies input text into four categories: Normal, Anxiety, Depression, and Suicidal. A dataset containing approximately 9,916 labeled text samples was used for training and evaluation. Various preprocessing techniques such as tokenization, stopword removal, and lemmatization were applied to clean the data. TF-IDF vectorization was used for feature extraction, and Logistic Regression achieved the best performance with an accuracy of around 85%.
The system is deployed using a Streamlit web application, allowing users to input text and receive real-time emotion predictions along with personalized suggestions. This research highlights the potential of Artificial Intelligence in early mental health detection and awareness. Although it does not replace professional diagnosis, it serves as an effective preliminary screening tool for emotional well-being monitoring.
Keywords:
Artificial Intelligence, Natural Language Processing, Machine Learning, Emotion Detection, Mental Health, Text Classification, NLP, Logistic Regression
Cite Article:
"AI-Based Mental Health Emotion Detection from Text using Natural Language Processing", International Journal for Research Trends and Innovation (www.ijrti.org), ISSN:2456-3315, Vol.11, Issue 5, page no.a92-a94, May-2026, Available :http://www.ijrti.org/papers/IJRTI2605013.pdf
Downloads:
00042
ISSN:
2456-3315 | IMPACT FACTOR: 8.14 Calculated By Google Scholar| ESTD YEAR: 2016
An International Scholarly Open Access Journal, Peer-Reviewed, Refereed Journal Impact Factor 8.14 Calculate by Google Scholar and Semantic Scholar | AI-Powered Research Tool, Multidisciplinary, Monthly, Multilanguage Journal Indexing in All Major Database & Metadata, Citation Generator