mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-13 04:02:29 +00:00
b671ff51f9
Normalize polarity values in sentiment-basic and sentiment-140
26 lines
709 B
Plaintext
26 lines
709 B
Plaintext
---
|
|
name: emotion-wnaffect
|
|
module: emotion-wnaffect
|
|
description: 'Emotion classifier using WordNet-Affect to calculate the percentage
|
|
of each emotion. This plugin classifies among 6 emotions: anger,fear,disgust,joy,sadness
|
|
or neutral. The only available language is English (en)'
|
|
author: "@icorcuera @balkian"
|
|
version: '0.2'
|
|
extra_params:
|
|
language:
|
|
"@id": lang_wnaffect
|
|
aliases:
|
|
- language
|
|
- l
|
|
required: false
|
|
options:
|
|
- en
|
|
synsets_path: "/data/emotion-wnaffect/a-synsets.xml"
|
|
hierarchy_path: "/data/emotion-wnaffect/a-hierarchy.xml"
|
|
wn16_path: "/data/emotion-wnaffect/wordnet1.6/dict"
|
|
onyx:usesEmotionModel: emoml:big6
|
|
requirements:
|
|
- nltk>=3.0.5
|
|
- lxml>=3.4.2
|
|
async: false
|