You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
senpy/sentiment-meaningCloud
J. Fernando Sánchez 4f286057c9 Update to senpy 0.20 5 years ago
..
.makefiles Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
k8s Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
.gitignore Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
.gitlab-ci.yml Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
Dockerfile Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
Dockerfile-3.5 Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
Dockerfile.template Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
Makefile Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
README.md Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
docker-compose.yml Merge commit '1eec6ecbad039b946c0d7b690335f2bb4ea8f320' as 'sentiment-meaningCloud' 6 years ago
meaningcloud_plugin.py Update to senpy 0.20 5 years ago

README.md

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