Skip to content

guilhermeapluz/CAMS

 
 

Repository files navigation

CAMS

An Annotated Corpus for Causal Analysis of Mental Health Issues in Social Media Posts

This repository is created to support the paper 'CAMS: An Annotated Corpus for Causal Analysis of Mental health on Social media' (accepted (published) in Language Resources and Evaluation Conference LREC'2022)

We introduce a new dataset for Causal Analysis of Mental health illness in Social media posts (CAMS). We first introduce the annotation schema for this task of causal analysis. The causal analysis comprises two types of annotations, viz, causal interpretation and causal categorization. We show the efficacy of our scheme in two ways: (i) crawling and annotating 3155 Reddit data and (ii) re-annotate the publicly available SDCNL dataset of 1896 instances for interpretable causal analysis. We further combine them as CAMS dataset.

Dataset Overview

The labeled data could be downloaded from here.

Terms of use

  • This corpus can be used freely for research purposes.
  • The paper provides details of the creation and use of the corpus.
  • If you use the corpus, then please cite the paper.
  • Please feel free to send us an email:
    • with feedback regarding the corpus.
    • with information on how you have used the corpus.
    • if interested in a collaborative research project.

Steps to run on WSL (Ubuntu 20.04)

  • Add “deadsnakes” PPA to Your Machine

    sudo add-apt-repository ppa:deadsnakes/ppa
  • Install Python 3.8 via “apt”

    sudo apt install python3.8 -y
  • Install pip for Python 3

    sudo apt update
    sudo apt install python3-pip
  • Install ipython for Python 3

    sudo apt install ipython3
  • Install Jupyter

    pip3 install jupyter
  • Create alias to launch jupyter without browser from the WSL:

    • Open your bash configuration: vim ~/.bashrc
    • Add to the end of the file and save/exit: alias jupyter-notebook="~/.local/bin/jupyter-notebook --no-browser"

Now you can run a jupyter server jupyter-notebook and access the service with your browser from Windows localhost:8888.

Steps to run on Github Codespaces

  • You must install Python v3.8 and pip (as described in devcontainer.json)
  • Instal python dependences
    pip install -r requirements.txt

About

Causal Analysis of Mental health on Social media

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 94.8%
  • Python 5.2%