Version 11 (modified by 6 years ago) ( diff ) | ,
---|
This is the source repo of the MentalHealth project.
This project contains papers, databases and implementations of procedures described in the papers.
git clone https://tracinsy.ewi.tudelft.nl/MentalHealth
Code here is in Java. The rationale is that this is currently by far the most popular programming language (13% in dec2017).
MotivateDuringTherapy
The MotivateDuringTherapy module is a module that can generate messages to motivate prople to continue with their therapy. The algorithm follows the proposal in the paper [1]. The motivation message is chosen depending on the selected language, the PCL (PTSD) trend and the trust of the patient.
This package can be included with the following maven code
<repositories> <repository> <id>artifactory.ewi.tudelft.nl</id> <url>http://artifactory.ewi.tudelft.nl/artifactory/release</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <dependency> <groupId>tudelft.mentalhealth</groupId> <artifactId>motivatepersisting</artifactId> <version>1.0.0</version> </dependency>
Example code can be found here. Typically you need only this
Locale NL = new Locale("nl", "NL"); Situation situation=new Situation(PclTrend.DROPPING, Trust.MEDIUM); String motivation = new MotivationalAnswer(situation, NL).getText();
}}}
References [1] Design and Evaluation of Personalized Motivational Messages by a Virtual Agent that assists in Post-Traumatic Stress Disorder Therapy. Myrthe L. Tielman , Mark A. Neerincx¹,², Willem-Paul Brinkman. Copy available here
Attachments (4)
- Screen Shot 2018-10-30 at 2.33.42 PM.png (1.2 MB ) - added by 6 years ago.
- motivatepersisting.png (1.2 MB ) - added by 5 years ago.
- traumaontologies.png (68.1 KB ) - added by 5 years ago.
- PerfectFit.png (51.4 KB ) - added by 10 months ago.
Download all attachments as: .zip