1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-24 02:22:20 +00:00

Updated anew and wnaffect README explaining how to obtain resources

This commit is contained in:
militarpancho
2017-05-05 10:57:16 +02:00
parent e88ca98438
commit b22ac843b6
2 changed files with 6 additions and 5 deletions

View File

@@ -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"