From b22ac843b607655bc68941f4a59c43d957655081 Mon Sep 17 00:00:00 2001 From: militarpancho Date: Fri, 5 May 2017 10:57:16 +0200 Subject: [PATCH] Updated anew and wnaffect README explaining how to obtain resources --- emotion-anew/README.md | 5 +++-- emotion-wnaffect/README.md | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/emotion-anew/README.md b/emotion-anew/README.md index a86674a..f31c55b 100755 --- a/emotion-anew/README.md +++ b/emotion-anew/README.md @@ -1,5 +1,4 @@ - -#Plugin emotion-anew +# Plugin emotion-anew This plugin consists on an **emotion classifier** that detects six possible emotions: - Anger : general-dislike. @@ -28,7 +27,9 @@ http://senpy.cluster.gsi.dit.upm.es/api/?algo=emotion-anew&language=en&input=I%2 ``` Example respond: This plugin follows the standard for the senpy plugin response. For more information, please visit [senpy documentation](http://senpy.readthedocs.io). Specifically, NIF API section. +# Known issues +To obtain Anew dictionary you can download from here: [](https://github.com/hcorona/SMC2015/blob/master/resources/ANEW2010All.txt). ![alt GSI Logo][logoGSI] [logoES]: https://www.gsi.dit.upm.es/ontologies/onyx/img/eurosentiment_logo.png "EuroSentiment logo" diff --git a/emotion-wnaffect/README.md b/emotion-wnaffect/README.md index 8f0a6d9..454881e 100644 --- a/emotion-wnaffect/README.md +++ b/emotion-wnaffect/README.md @@ -1,4 +1,3 @@ - # WordNet-Affect plugin This plugin uses WordNet-Affect (http://wndomains.fbk.eu/wnaffect.html) to calculate the percentage of each emotion. The plugin classifies among five diferent emotions: anger, fear, disgust, joy and sadness. It is has been used a emotion mapping enlarge the emotions: @@ -34,8 +33,9 @@ The emotion-wnaffect.senpy file can be copied and modified to use different vers ## Known issues - This plugin uses the pattern library, which means it will only run on python 2.7 -- Wnaffect and corpora files are not included in the repository, but can be easily added either to the docker image (using a volume) or in a new docker image. - +- Wnaffect and corpora files are not included in the repository, but can be easily added either to the docker image (using a volume) or in a new docker image. +You can download Wordnet 1.6 here: [](http://wordnetcode.princeton.edu/1.6/wn16.unix.tar.gz) and extract the dict folder. +The hierarchy and synsets files can be found here: [](https://github.com/larsmans/wordnet-domains-sentiwords/tree/master/wn-domains/wn-affect-1.1) ![alt GSI Logo][logoGSI] [logoGSI]: http://www.gsi.dit.upm.es/images/stories/logos/gsi.png "GSI Logo"