mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-22 13:08:13 +00:00
Updated anew and wnaffect README explaining how to obtain resources
This commit is contained in:
parent
e88ca98438
commit
b22ac843b6
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user