1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-14 12:42:27 +00:00
senpy/sentiment-meaningCloud
2017-05-11 11:02:29 +02:00
..
README.md Plugins names updated 2017-01-25 18:58:27 +01:00
sentiment-meaningCloud.py Fixed bug in meaningCloud plugin. Now retrieves Neutral sentiment 2017-05-11 11:02:29 +02:00
sentiment-meaningCloud.senpy Addapted plugins to senpy 0.8.2 2017-03-01 13:23:41 +01:00

Senpy Plugin MeaningCloud

MeaningCloud plugin uses API from Meaning Cloud to perform sentiment analysis.

For more information about Meaning Cloud and its services, please visit: https://www.meaningcloud.com/developer/apis

Usage

To use this plugin, you need to obtain an API key from meaningCloud signing up here: https://www.meaningcloud.com/developer/login

When you had obtained the meaningCloud API Key, you have to provide it to the plugin, using the param apiKey.

To use this plugin, you should use a GET Requests with the following possible params: Params:

  • Language: English (en) and Spanish (es). (default: en)
  • API Key: the API key from Meaning Cloud. Aliases: ["apiKey","meaningCloud-key"]. (required)
  • Input: text to analyse.(required)
  • Model: model provided to Meaning Cloud API (for general domain). (default: general)

Example of Usage

Example request:

http://senpy.cluster.gsi.dit.upm.es/api/?algo=meaningCloud&language=en&apiKey=<put here your API key>&input=I%20love%20Madrid

Example respond: This plugin follows the standard for the senpy plugin response. For more information, please visit senpy documentation. Specifically, NIF API section.

alt GSI Logo