IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i13p1926-d1419681.html
   My bibliography  Save this article

Mental-Health: An NLP-Based System for Detecting Depression Levels through User Comments on Twitter (X)

Author

Listed:
  • Rafael Salas-Zárate

    (Tecnológico Nacional de México/I. T. Zitácuaro, Av. Tecnológico No. 186, Zitácuaro 61534, Michoacán, Mexico
    Tecnológico Nacional de México/I. T. Orizaba, Av. Oriente 9 No. 852, Col. E. Zapata, Orizaba 94320, Veracruz, Mexico)

  • Giner Alor-Hernández

    (Tecnológico Nacional de México/I. T. Orizaba, Av. Oriente 9 No. 852, Col. E. Zapata, Orizaba 94320, Veracruz, Mexico)

  • Mario Andrés Paredes-Valverde

    (Tecnológico Nacional de México/I.T.S. Teziutlán, Fracción I y II S/N, Aire Libre, Teziutlán 73960, Puebla, Mexico)

  • María del Pilar Salas-Zárate

    (Tecnológico Nacional de México/I.T.S. Teziutlán, Fracción I y II S/N, Aire Libre, Teziutlán 73960, Puebla, Mexico)

  • Maritza Bustos-López

    (Tecnológico Nacional de México/I. T. Orizaba, Av. Oriente 9 No. 852, Col. E. Zapata, Orizaba 94320, Veracruz, Mexico)

  • José Luis Sánchez-Cervantes

    (Tecnológico Nacional de México/I. T. Orizaba, Av. Oriente 9 No. 852, Col. E. Zapata, Orizaba 94320, Veracruz, Mexico)

Abstract

The early detection of depression in a person is of great help to medical specialists since it allows for better treatment of the condition. Social networks are a promising data source for identifying individuals who are at risk for this mental disease, facilitating timely intervention and thereby improving public health. In this frame of reference, we propose an NLP-based system called Mental-Health for detecting users’ depression levels through comments on X. Mental-Health is supported by a model comprising four stages: data extraction, preprocessing, emotion detection, and depression diagnosis. Using a natural language processing tool, the system correlates emotions detected in users’ posts on X with the symptoms of depression and provides specialists with the depression levels of the patients. By using Mental-Health, we described a case study involving real patients, and the evaluation process was carried out by comparing the results obtained using Mental-Health with those obtained through the application of the PHQ-9 questionnaire. The system identifies moderately severe and moderate depression levels with good precision and recall, allowing us to infer the model’s good performance and confirm that it is a promising option for mental health support.

Suggested Citation

  • Rafael Salas-Zárate & Giner Alor-Hernández & Mario Andrés Paredes-Valverde & María del Pilar Salas-Zárate & Maritza Bustos-López & José Luis Sánchez-Cervantes, 2024. "Mental-Health: An NLP-Based System for Detecting Depression Levels through User Comments on Twitter (X)," Mathematics, MDPI, vol. 12(13), pages 1-30, June.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:13:p:1926-:d:1419681
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/13/1926/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/13/1926/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Rodrigo Martínez-Castaño & Juan C. Pichel & David E. Losada, 2020. "A Big Data Platform for Real Time Analysis of Signs of Depression in Social Media," IJERPH, MDPI, vol. 17(13), pages 1-23, July.
    2. Valentinas Podvezko, 2009. "Application of AHP technique," Journal of Business Economics and Management, Taylor & Francis Journals, vol. 10(2), pages 181-189, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sadhan Malik & Subodh Chandra Pal & Biswajit Das & Rabin Chakrabortty, 2020. "Assessment of vegetation status of Sali River basin, a tributary of Damodar River in Bankura District, West Bengal, using satellite data," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 22(6), pages 5651-5685, August.
    2. Eva Trinkūnienė & Vaidotas Trinkūnas, 2014. "Knowledge Management in Composition of Construction Contracts," Entrepreneurial Business and Economics Review, Centre for Strategic and International Entrepreneurship at the Cracow University of Economics., vol. 2(4), pages 101-112.
    3. Zydrune Morkunaite & Romualdas Bausys & Edmundas Kazimieras Zavadskas, 2019. "Contractor Selection for Sgraffito Decoration of Cultural Heritage Buildings Using the WASPAS-SVNS Method," Sustainability, MDPI, vol. 11(22), pages 1-25, November.
    4. Minkyu Song & Boyoung Kim, 2024. "An Analysis of Critical Factors Affecting the Success of Open Innovation Strategies in High-Tech Firms: The Case of South Korea," Administrative Sciences, MDPI, vol. 14(11), pages 1-26, October.
    5. Gargiulo, Carmela & Battarra, Rosaria & Tremiterra, Maria Rosa, 2020. "Coastal areas and climate change: A decision support tool for implementing adaptation measures," Land Use Policy, Elsevier, vol. 91(C).
    6. Hasan Zabihi & Mohsen Alizadeh & Philip Kibet Langat & Mohammadreza Karami & Himan Shahabi & Anuar Ahmad & Mohamad Nor Said & Saro Lee, 2019. "GIS Multi-Criteria Analysis by Ordered Weighted Averaging (OWA): Toward an Integrated Citrus Management Strategy," Sustainability, MDPI, vol. 11(4), pages 1-17, February.
    7. Jiexiong Duan & Weixin Zhai & Chengqi Cheng, 2020. "Crowd Detection in Mass Gatherings Based on Social Media Data: A Case Study of the 2014 Shanghai New Year’s Eve Stampede," IJERPH, MDPI, vol. 17(22), pages 1-14, November.
    8. Fernando A. F. Ferreira & Sérgio P. Santos & Paulo M. M. Rodrigues & Ronald W. Spahr, 2014. "Evaluating retail banking service quality and convenience with MCDA techniques: a case study at the bank branch level," Journal of Business Economics and Management, Taylor & Francis Journals, vol. 15(1), pages 1-21, February.
    9. Chuc Anh Tu & Tapan Sarker & Ehsan Rasoulinezhad, 2020. "Factors Influencing the Green Bond Market Expansion: Evidence from a Multi-Dimensional Analysis," JRFM, MDPI, vol. 13(6), pages 1-14, June.
    10. Irina Vinogradova, 2019. "Multi-Attribute Decision-Making Methods as a Part of Mathematical Optimization," Mathematics, MDPI, vol. 7(10), pages 1-21, October.
    11. Marija Burinskienė & Vytautas Bielinskas & Askoldas Podviezko & Virginija Gurskienė & Vida Maliene, 2017. "Evaluating the Significance of Criteria Contributing to Decision-Making on Brownfield Land Redevelopment Strategies in Urban Areas," Sustainability, MDPI, vol. 9(5), pages 1-17, May.
    12. Kristina Vaičiūtė & Aušra Katinienė & Gintautas Bureika, 2022. "The Synergy between Technological Development and Logistic Cooperation of Road Transport Companies," Sustainability, MDPI, vol. 14(21), pages 1-22, November.
    13. Sarah Ben Amor & Fateh Belaid & Ramzi Benkraiem & Boumediene Ramdani & Khaled Guesmi, 2023. "Multi-criteria classification, sorting, and clustering: a bibliometric review and research agenda," Annals of Operations Research, Springer, vol. 325(2), pages 771-793, June.
    14. Paulo M.M. Rodrigues & Fernando A. F. Ferreira, 2011. "Evaluating retail banking quality service and convenience with MCDA techniques: a case study at the bank branch level," Working Papers w201131, Banco de Portugal, Economics and Research Department.
    15. Šalkauskienė, Vilma & Gudritienė, Daiva & Abalikštienė, Edita, 2019. "Analysis of the non-productive land use in Lithuania," Land Use Policy, Elsevier, vol. 80(C), pages 135-141.
    16. Marius Jakimavičius & Marija Burinskienė & Modesta Gusarovienė & Askoldas Podviezko, 2016. "Assessing multiple criteria for rapid bus routes in the public transport system in Vilnius," Public Transport, Springer, vol. 8(3), pages 365-385, December.
    17. Mayke Feitosa Progênio & Claudio José Cavalcante Blanco & Josias Silva Cruz & Felipe Antônio Melo Costa Filho & André Luiz Amarante Mesquita, 2021. "Environmental impact index for tidal power plants in amazon region coast," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 23(7), pages 10814-10830, July.
    18. Chia-Nan Wang & Minh Nhat Nguyen & Anh Luyen Le & Hector Tibo, 2020. "A DEA Resampling Past-Present-Future Comparative Analysis of the Food and Beverage Industry: The Case Study on Thailand vs. Vietnam," Mathematics, MDPI, vol. 8(7), pages 1-24, July.
    19. Can Kara & Aminreza Iranmanesh, 2022. "Modelling and Assessing Sustainable Urban Regeneration for Historic Urban Quarters via Analytical Hierarchy Process," Land, MDPI, vol. 12(1), pages 1-20, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:13:p:1926-:d:1419681. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.