Version 13 (modified by 6 years ago) ( diff ) | ,
---|
MotivateDuringTherapy
get copy of the source code:
svn checkout http://tracinsy.ewi.tudelft.nl/pub/svn/HealthPsychology/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/libs-release</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>tudelft.mentalhealth</groupId> <artifactId>motivatepersisting</artifactId> <version>1.0.0</version> </dependency> </dependencies>
Examples
Various example codes are available
- You can download a ready-to-run jar (just double click to run; you need to have java installed) here
https://webswing.ewi.tudelft.nl/bart/
- The junit tests for the package here.
- Make your own example using this code snip plus the maven dependencies above
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.
Attachments (1)
- screenshot.png (1.2 MB ) - added by 6 years ago.
Download all attachments as: .zip