Use of sentiment analysis for capturing hospitalized cancer patients' experience from free-text comments in the Persian language
- PMID: 38031102
- PMCID: PMC10685532
- DOI: 10.1186/s12911-023-02358-2
Use of sentiment analysis for capturing hospitalized cancer patients' experience from free-text comments in the Persian language
Abstract
Purpose: Today, the Internet provides access to many patients' experiences, which is crucial in assessing the quality of healthcare services. This paper introduces a model for detecting cancer patients' opinions about healthcare services in the Persian language, both positive and negative.
Method: To achieve the objectives of this study, a combination of sentiment analysis (SA) and topic modeling approaches was employed. All pertinent comments made by cancer patients were collected from the patient feedback form of the Tehran University of Medical Science (TUMS) Cancer Institute (CI) in Iran, from March to October 2021. Conventional evaluation metrics such as accuracy, precision, recall, and F-measure were utilized to assess the performance of the proposed model.
Result: The experimental findings revealed that the proposed SA model achieved accuracies of 89.3%, 92.6%, and 90.8% in detecting patients' sentiments towards general services, healthcare services, and life expectancy, respectively. Based on the topic modeling results, the topic "Metastasis" exhibited lower sentiment scores compared to other topics. Additionally, cancer patients expressed dissatisfaction with the current appointment booking service, while topics such as "Good experience," "Affable staff", and "Chemotherapy" garnered higher sentiment scores.
Conclusion: The combined use of SA and topic modeling offers valuable insights into healthcare services. Policymakers can utilize the knowledge obtained from these topics and associated sentiments to enhance patient satisfaction with cancer institution services.
Keywords: Cancer; Natural language processing; Opinion mining; Patient feedback; Sentiment analysis; Topic modeling.
© 2023. The Author(s).
Conflict of interest statement
The authors declare no competing interests.
Figures






Similar articles
-
Vaccine sentiment analysis using BERT + NBSVM and geo-spatial approaches.J Supercomput. 2023 May 7:1-31. doi: 10.1007/s11227-023-05319-8. Online ahead of print. J Supercomput. 2023. PMID: 37359330 Free PMC article.
-
Automating Large-scale Health Care Service Feedback Analysis: Sentiment Analysis and Topic Modeling Study.JMIR Med Inform. 2022 Apr 11;10(4):e29385. doi: 10.2196/29385. JMIR Med Inform. 2022. PMID: 35404254 Free PMC article.
-
Understanding patient satisfaction with received healthcare services: A natural language processing approach.AMIA Annu Symp Proc. 2017 Feb 10;2016:524-533. eCollection 2016. AMIA Annu Symp Proc. 2017. PMID: 28269848 Free PMC article.
-
Evaluation of the quality and accuracy of breast cancer knowledge among persian language websites.BMC Health Serv Res. 2022 Dec 20;22(1):1560. doi: 10.1186/s12913-022-08966-4. BMC Health Serv Res. 2022. PMID: 36539766 Free PMC article. Review.
-
Sentiment Analysis in Health and Well-Being: Systematic Review.JMIR Med Inform. 2020 Jan 28;8(1):e16023. doi: 10.2196/16023. JMIR Med Inform. 2020. PMID: 32012057 Free PMC article. Review.
Cited by
-
The Use of Natural Language Processing to Interpret Unstructured Patient Feedback on Health Services: Scoping Review.J Med Internet Res. 2025 Aug 14;27:e72853. doi: 10.2196/72853. J Med Internet Res. 2025. PMID: 40811803 Free PMC article. Review.
-
Year 2023 in Biomedical Natural Language Processing: a Tribute to Large Language Models and Generative AI.Yearb Med Inform. 2024 Aug;33(1):241-248. doi: 10.1055/s-0044-1800751. Epub 2025 Apr 8. Yearb Med Inform. 2024. PMID: 40199311 Free PMC article.
-
Healthcare professionals and the public sentiment analysis of ChatGPT in clinical practice.Sci Rep. 2025 Jan 7;15(1):1223. doi: 10.1038/s41598-024-84512-y. Sci Rep. 2025. PMID: 39774168 Free PMC article.
References
-
- Yue L, Chen W, Li X, Zuo W, Yin M. A survey of sentiment analysis in social media. Knowl Inf Syst. 2019;60(2):617–663. doi: 10.1007/s10115-018-1236-4. - DOI
-
- Jindal K, Aron R. A systematic study of sentiment analysis for social media data. Materials today: proceedings. 2021 .
-
- Abualigah L, Alfar HE, Shehab M, Hussein AMA. Sentiment analysis in healthcare: a brief review. Recent advances in NLP: the case of Arabic language. 2020; 129–41.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Medical