Understanding the impact of cancer goes beyond treatment; exploring coping mechanisms is vital. Online communities like r/cancer play a crucial role by providing support, sharing experiences, and offering valuable advice, transcending boundaries to empower those affected by cancer.
To run the code, ensure the following packages are installed:
bash
! pip install zstandard
• pandas
• numpy
• defaultdict
• tqdm
• gensim
• nltk
• bertopic
- LDA_Multicore_on_Submissions_r_cancer.ipynb: Performs Topic Modelling using LDA.
- BERT_Topic.ipynb: Performs Topic Modelling Using BERT Topic.
The analysis of r/cancer subreddit data highlights Reddit's pivotal role as a supportive platform for discussing cancer-related challenges. Users engage extensively, sharing struggles, seeking advice, and offering support. LDA and BERTopic techniques reveal diverse clusters, including treatment advice and emotional support. The community provides varied assistance, fostering unity and understanding among those navigating cancer.
• Jenei, Kristina, et al. "Experiences and perspectives of individuals accessing CAR-T cell therapy: A qualitative analysis of online Reddit discussions." Journal of Cancer Policy 30 (2021): 100303.
• Andy,Anietie, andUduakAndy. "Understanding communication in an online cancer forum: content analysis study." JMIR cancer 7.3 (2021): e29555.
• https://maartengr.github.io/BERTopic/index.html BERTopic Documentation, Last Accessed 2023, December 10th
• https://huggingface.co/tasks/zero-shot-classification Zero Shot Classification Documentation, Last Accessed 2023, December 10th
• https://radimrehurek.com/gensim/models/ldamulticore.html Gensim LDA Multicore Documentation, Last Accessed, 2023, December 10th