-
Notifications
You must be signed in to change notification settings - Fork 2
marble‐processor‐stanford
Miguel Fernandes edited this page Feb 4, 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://:/api/update_sentiwordnet
with a single parameter called `file` with the corpus contents.
### Options available
*relatedWords*: Verifies that the related words are present. If not, the message is not processed.
###Example call
```json
{
"name": "processor-stanford",
"options": {
"relatedWords": [
"camera"
]
}
}