-
Notifications
You must be signed in to change notification settings - Fork 2
marble‐processor‐stanford
Miguel Fernandes edited this page Mar 17, 2017
·
4 revisions
Processor.
This processor assigns a polarity value to each message related to a specific topic. It is based on the works of Anwar Hridoy et. al.
It uses the stanford corenlp engine, and the SentiWordNet corpus.
The sentiwordnet corpus needs to be loaded into marble before the first time use of this processor.
- Download the corpus here, in its txt version.
- Load it sending a POST request to the url:
http://server:<port>/api/update_sentiwordnet
with a single parameter called file
with the corpus contents.
relatedWords: Verifies that the related words are present. If not, the message is not processed.
###Example Recipe
{
"name": "processor-stanford",
"options": {
"relatedWords": [
"camera"
]
}
}