marble‐processor‐nltk - miguelfc/marble GitHub Wiki
Type
Processor.
Function
This processor assigns a polarity value to each message related to a specific topic.
To calculate this value, it uses the python nltk. The options are used to specify the type of algorithm to use.
Usage
Requirements
The corpora are downloaded from the internet at startup time, so you would need access to the internet from the nltk processor instance.
Options
type: Defines the type of algorithm to use. Options available:
- vader: Based on Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.
Example Recipe
{
"name": "processor-nltk",
"options": {
"type": "vader"
}
}