1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-14 20:42:27 +00:00
senpy/community-plugins/sentiment-meaningCloud
J. Fernando Sánchez e1d888ebd6 Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8'
git-subtree-dir: community-plugins
git-subtree-mainline: 7f712952be
git-subtree-split: 4c73797246
2023-09-20 13:32:30 +02:00
..
.makefiles Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
k8s Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
.gitignore Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
.gitlab-ci.yml Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
docker-compose.yml Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
Dockerfile Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
Dockerfile-3.5 Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
Dockerfile.template Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
Makefile Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
meaningcloud_plugin.py Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
README.md Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02: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.

This plugin supports python2.7 and python3.

alt GSI Logo