This document provides all details needed to have access to the research collection eRisk 2020.

Any scientific publication derived from the use of this collection should explicitly refer to the following publication:

F. Crestani, D. Losada, J. Parapar. Early Detection of Mental Health Disorders by Social Media Monitoring. Springer 2022.

The eRisk 2022 collection is available for research purposes under proper user agreements.


The collection contains textual interactions (posts or comments) from multiple users (task2: pathological gamblers and non-pathological gamblers, task2: self-harm and non-self-harm users; ). For each subject, a (usually long) history of writings (posts or comments from a social networking site) is available. This is stored as a XML file (one per subject) with the following structure:

<ID> ... </ID>
<TITLE> ...   </TITLE>
<DATE> ... </DATE>
<INFO> ... </INFO>
<TEXT> ...  </TEXT>
<TITLE> ... </TITLE>
<DATE> ... </DATE>
<INFO> ... </INFO>
<TEXT> ... </TEXT>

ID: contains the anonymised id of the subject

TITLE: title of the post if available (if it is a comment then TITLE is empty)

INFO: additional info about the writing (source of the post/comment)

TEXT: body of the post or comment

User agreement

This collection can only be used for research purposes. If you are interested in having access to this data, please fill the following user agreement and send it to .