1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 13:08:13 +00:00
senpy/community-plugins/sentiment-basic
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
..
README.md Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
sentiment-basic.py Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
sentiment-basic.senpy Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00
sentiwn.py Add 'community-plugins/' from commit '4c73797246c6aff8d055abfef73d3f0d34b933a8' 2023-09-20 13:32:30 +02:00

Sentiment basic plugin

This plugin is based on the classifier developed for the TASS 2015 competition. It has been developed for Spanish and English. This is a demo plugin that uses only some features from the TASS 2015 classifier. To use the entirely functional classifier you can use the service in: http://senpy.cluster.gsi.dit.upm.es

There is more information avaliable in:

- Aspect based Sentiment Analysis of Spanish Tweets, Oscar Araque and Ignacio Corcuera-Platas and Constantino Román-Gómez and Carlos A. Iglesias and J. Fernando Sánchez-Rada. http://gsi.dit.upm.es/es/investigacion/publicaciones?view=publication&task=show&id=376

Usage

Params accepted:

  • Language: Spanish (es).
  • Input: text to analyse.

Example request:

http://senpy.cluster.gsi.dit.upm.es/api/?algo=sentiment-basic&language=es&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 only supports python2

alt GSI Logo